ProAlgos / ProAlgos-Cpp

C++ implementations of well-known (and some rare) algorithms, while following good software development practices
MIT License
507 stars 363 forks source link

Added backtracking algorithm named all permutations of a string/array #377

Open brijeshsos66 opened 3 years ago

brijeshsos66 commented 3 years ago

Added all_permutations.hpp in include folder & all_permutations.cpp in test folder.

Issue #376

alxmjo commented 3 years ago

This looks good on first glance, but please read the documentation regarding testing code (you need to update CMakeLists.txt so that we can test your code). Also, there is an existing README for backtracking algorithms (in the same directory where you added the algorithm implementation). Please update that.

alxmjo commented 3 years ago

Sorry for the late response, @brijeshsos66, but I just realized that you made those changes in another PR that has since been closed. Can you add those changes on this branch so they're contained in the same PR?