Mistakenly deleted my module 7 (TREE PATH SUM) of APPROACH pack(then i again pull it after that it only showing solution.cpp file How i resolve this .)
Did you commit your code? If you did not commit your code and then you deleted it, then there’s nothing that can be done. If you had already committed, then you can reset to the latest commit easily.
From the screenshot, it looks like you are trying to edit the Solution.cpp file. I would say follow these steps:
- Make a copy of solution.cpp in a different directory (ie, save a backup)
- Delete the TreePathSum folder.
- Redo the instructions from scratch to pull it.
- Manually merge or copy-paste (it is a small file so copy-paste might be ok) any code you need from Solution.cpp.
Let me know if this helps.
Closing this topic as your issue is resolved by the mentor. If it is still not resolved, Kindly un-mark the accepted solution or create a new topic and post this question as a reference link in the description of the new topic.