Closed davidli3100 closed 3 years ago
Ready to merge if it looks good to you @mrseidel - I can add searching/sorting for c++ based on whether or not you want to use vectors or just plain C arrays in those.
(C arrays get a little sketchy since you have to start doing sizeof(array)/sizeof(array[0])
to get the length of the array)
Ready to merge if it looks good to you @mrseidel - I can add searching/sorting for c++ based on whether or not you want to use vectors or just plain C arrays in those.
(C arrays get a little sketchy since you have to start doing
sizeof(array)/sizeof(array[0])
to get the length of the array)
Vectors are easier to work with overall, so go in that direction. I'll review this pull request tomorrow.
Implemented searching/sorting using vectors - I used vector::operator[]
instead of vector::at
just so it causes minimal confusion - not sure if boundary checking really matters here since it's just some basic algorithms
Refactored folder names to use C++
and C#
- I left the file names the same since they match the class names
Refactored searching, sorting, and recursion submodules to sort by languages
TODO
Python:
Java:
C++: