Competitive-Programming
Algorithms Regarding Competitive Programming in this repository
Contribution Guidelines
Read our Contribution Guidelines below before you contribute:-
- Fork this Repository using the button at the top
- Clone your forked repository to your pc
- Create a new branch for your modifications (ie.
git branch algorithm-name
and check it out git checkout algorithm-name
and git checkout -b algorithm-name
.
- Add your files (
git add -A
), commit (git commit -m "added algorithm-name"
) and push (git push origin algorithm-name
)
- Create a pull request
- Wait for Pull Request to merge.
- Comment on the issue by referring your pr.
Algorithm List
Bit twiddling
- [x] count set bits
- [x] largest power of two closest to given number
- [x] smallest power of two closest to given number
- [x] unique number from array of duplicates