The following command will build and run the program:
make
make build
Feel free to contribute with any sorting algorithms you want, as long as you follow the rules 🙌
Follow the steps bellow to get started!
- Make sure to read the rules section.
- Fork this repo by clicking the top right fork button.
- Clone the reposetory you just forked.
- Create a new branch:
git checkout -b new_branch_name
- Make your changes and push your code.
- Lastly, create a pull request to this reposetorys
main
branch.
Happy coding ⌨️
TL;DR Follow the same pattern as the bubbleSort()
does.
- Implement the new sorting algorithm in the files:
src/algorithms.h src/algorithms.cpp
- Use the
getUnsortedVector()
as the vector to sort. - Use the
VERIFY_SORTED()
to verify that your vector is properly sorted. - NO thirdparty packages.
main.cpp
should be able to run.- Have fun! 🎉