- Find gcd(a^n, c) where a, n and c can vary from 1 to 10^9
- Check if two strings are permutation of each other
- Add two unsigned numbers using bits
- Number of possible pairs of Hypotenuse and Area to form right angled triangle
- Tail recursion to calculate sum of array elements.
- Find maximum among x^(y^2) or y^(x^2) where x and y are given
- Count numbers which can be represented as sum of same parity primes
- Maximum possible intersection by moving centers of line segments
- Number of ways a convex polygon of n+2 sides can split into triangles by connecting vertices
- Check if Decimal representation of an Octal number is divisible by 7
- Number of Permutations such that no Three Terms forms Increasing Subsequence
- Find minimum possible digit sum after adding a number d
- Find maximum in a stack in O(1) time and O(1) extra space
- Check whether it is possible to join two points given on circle such that distance between them is k
- Maximize number of nodes which are not part of any edge in a Graph
- Minimum number of nodes in an AVL Tree with given height
- Optimal sequence for AVL tree insertion (without any rotations)
- MakeFile in C++ and its applications
- Find if array has an element whose value is half of array sum
- In-Place Merge Sort
- Find a value whose XOR with given number is maximum
- Generate all rotations of a number
- Check if array can be divided into two sub-arrays such that their absolute difference is K
- Minimum operations required to modify the array such that parity of adjacent elements is different
- Find Intersection of all Intervals
- Find sub-matrix with the given sum
- Minimum index i such that all the elements from index i to given index are equal
- Number of trailing zeroes in base 16 representation of N!
- Minimum operations to make frequency of all characters equal K
- Numbers in a Range with given Digital Root
- Check if Matrix remains unchanged after row reversals
- Check if the given array can be reduced to zeros with the given operation performed given number of times
- Minimum length of square to contain at least half of the given Coordinates
- Maximal Disjoint Intervals
- Maximum points covered after removing an Interval
- Check if factorial of N is divisible by the sum of squares of first N natural numbers
- Find triplet such that number of nodes connecting these triplets is maximum
- Find if nCr is divisible by the given prime
- Find N distinct numbers whose bitwise Or is equal to K
- Minimum increments to convert to an array of consecutive integers
- Count pairs of elements such that number of set bits in their AND is B[i]
- Maximum subset sum such that no two elements in set have same digit in them
- Find the element in the matrix generated by given rules
- Count of sub-sequences which satisfy the given condition
- Find if a binary matrix exists with given row and column sums
- Find the Kth smallest element in the sorted generated array
- Find optimal weights which can be used to weigh all the weights in the range [1, X]
- Split the given array into K sub-arrays such that maximum sum of all sub arrays is minimum
- Find minimum length sub-array which has given sub-sequence in it
- Number of Quadruples with GCD equal to K

- Counting Sort
- Red-Black Tree | Set 1 (Introduction)
- Stack | Set 3 (Reverse a string using stack)
- Minimum number of nodes in an AVL Tree with given height
- Find if nCr is divisible by the given prime
- Find the element in the matrix generated by given rules
- Count of sub-sequences which satisfy the given condition
- Find optimal weights which can be used to weigh all the weights in the range [1, X]