Closed Rajat-Jain29 closed 2 years ago
@SarthakKeshari Kindly merge this PR. :)
@Rajat-Jain29, Kindly attach the screenshot of the output that your written code produces.
@SarthakKeshari Check again I have added the output of my code.
@Rajat-Jain29, Kindly comment your code well.
@Rajat-Jain29, Kindly do this also
@SarthakKeshari Now checked. I have done some changes.
Choose your form and fill it -
1. Form 1(C++ Solution contributors)
2. Form 2(C++ Documentation Contributors)
1) Form 1
Issue Id you have worked upon -
482
Briefly explain your program logic -
There are 3 major steps: Build Trie tree Subtree serialization & Hash Generate remaining paths
There are several tricky parts that are easy to make mistakes:
Trie is a bit different from binary trees, it can be imagined as node.val is stored in its children's keys.. Need to sort path before insert into trie, since we don't need to differentiate the order of its branches
Screenshots(Attach 2 screenshots of your own input and output) -
Checklist:
Eg - If your code follow the below guidelines. Kindly change [] to [x]
All the conditions should be fulfilled for considering your code for merging -
[x] I have mentioned the question as comment in my solution file.
[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code.
[x] My code gives the correct output.
[x] I confirm that I have not copied the code from anywhere. In case its found that I have copied even after successful merge then I can be banned from the repository and hacktoberfest.
[x] I affirm that I strictly follow contributing guidelines and code of conduct.
2) Form 2
Issue Id you have worked upon -
Checklist:
Eg - If your code follow the below guidelines. Kindly change [] to [x]
All the conditions should be fulfilled for considering your Pull Request for merging -
[] I have performed a self-review of my documentation.
[] I affirm that I strictly follow contributing guidelines and code of conduct.