This repo is used for HacktoberFest-2021. Write programs in your preferred languages!
- Register on Hacktoberfest 2021 with your github account so that pull requests can be tracked.
- Fork this repo and give it a star.
- Upload your solution file under specific directory (or create one directory of specific language if not there) with a comment having your Github username on the top of file.
- Commit the changes.
- Create a Pull Request.
There are 3 types of problems in this repo:
- Beginner
- Intermediate
- Advanced
- Even or odd
- Prime or not
- Generate a random number
- Printing numbers upto 10 using tail recursion
- Subsets of 'abcd'
- Second highest number in 4 3 1 5 2
- Celebrity problem
- Binary search for 3 in 2 4 8 9 1 3 6
- Reverse a linked list
- Make a binary search tree with 1 2 3 4 5
- Find duplicates in an array using hash map
- Prefix sum array of 1 2 3 4 5 with time complexity O(n)