r/learncpp • u/PetrifiedPanda • Aug 07 '20
I implemented some Data Structures in C++
Not sure if this is the place for posting code, if it is not, I apologize.
I implemented some data structures in C++. I am somewhat new to C++ and started this project originally to get used to std::unique_ptr via a LinkedList implementation and then decided to add a few more data structures.
Note that I have yet to fix the postorder Traversal for the binary search tree.
I think that a lot of the iterators I wrote may be bad practice, which is why I would really appreciate some feedback / suggestions for this project.
8
Upvotes
View all comments
Show parent comment
1
u/PetrifiedPanda Aug 18 '20
Thank you for the detailed answer, I've looked into google test, but as I have no experience with CMake it may take some time until I add the unit tests, so I'll try to learn that for now.
One last question:
What would be the best practice to handle the google test folder within the repo? Should I keep it unstaged, or add it to the Github?