* hamilton cycle dynamic programming solution in O(2^n*n) time and memory for n <= 20(n is number of vertices)
* tests added in hamilton-cycle
* stylistical fixes
* endline added
* assert for tests added
* some more fixes delete replaced with delete[] and comment extended od main function
* comments added like about author
* file descriptions added in hamiltons-cycle.cpp
* fix code per standards
* fix filename per repo standards
* code optimized
* updating DIRECTORY.md
* fixes: docs + optimization
* fix pre
* update main function docs
* move file from dynamic_programming to more appropriate graph
* updating DIRECTORY.md
* fix filename
* updating DIRECTORY.md
Co-authored-by: vakhokoto <v.kotoreishvili@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
* fix, test: simplification and tests for number_of_positive_divisors
* Further refactor and documentation of number_of_positive_divisors
* Update the comments.
* Update the LaTeX documentation.
* feat: Add BFS and DFS algorithms to check for cycle in a directed graph
* Remove const references for input of simple types
Reason: overhead on access
* fix bad code
sorry for force push
* Use pointer instead of the non-const reference
because apparently google says so.
* Remove a useless and possibly bad Graph constuctor overload
* Explicitely specify type of vector during graph instantiation
* Minor documentation fixes.
* Fix bad code
why did I even do this lol.
* Some more fixes to the code
* Fix a comment.
* Use map instead of unordered_map for better performance when using map.find() function and make code compatible with C++11.
* Remove copyright line.
* Added Bogo Sort
* Changed code according to guidelines
* Added Comments and example
* Improved code quality
* Added range based loop and included cassert
* Changed Vectors to Array
* Added const to vector arg and now returning sorted array
* Changed vector to array and changed description format
* Added namespace sorting, Function description and tests
* Update sorting/Bogo_Sort.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Replaced Shuffle with std::random_shuffle
* Renamed filename to smallercase, Added shuffle for ref and updated bracket styling
* Added missing ')'
* updating DIRECTORY.md
* Added spaces in single line comments
* Added Spaces
* Update sorting/bogo_sort.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>