A little approach to help beginner programmers with 100 most popular coding problem with their solutions in C++
- Check if a number is positive or negative
- Even Odd
- Sum of first N natural numbers
- Sum of numbers in a given range
- Greatest among two numbers
- Greatest among three numbers
- Leap year
- Check prime number
- Prime numbers in a range
- Sum of all digits of a number
- Reverse of a number
- Palindrome number
- Armstrong number
- Fibonacci series
- Factorial of a number
- Strong number
- Power of a number
- Perfect number
- Perfect Square
- Count the number of digits of a number
- GCD or HCF of two numbers
- LCM of two numbers
- Binary to Decimal
- Decimal to Binary
- Decimal to Octal
- Binary to Octal
- Octal to Decimal
- Octal to Binary
- Permutation [nPr]
- Combination [nCr]
- Perimeter and Area of square
- Perimeter/Circumference and Area of circle
- Perimeter and Area of rectangle
- Area of triangle
- Surface area and Volume of cube
- Math problem 1
- Linked list
Most of the codes are in worst time complexity. As this collection is made for beginners so simplicity is the main priority here. But anyone wants to contribute and make this repository usable for intermediate/advanced programmers is always welcome.