Given an array of size N-1 such that it only contains distinct integers in the range of 1 to N. Find the missing element.
For an integer N find the number of trailing zeroes in N!.
Given a fraction. Convert it into a decimal. If the fractional part is repeating, enclose the repeating part in parentheses.
Given a positive integer N. You have to find Nth natural number after removing all the numbers containing digit 9.
Given an array of size N, find the smallest positive integer value that cannot be represented as sum of some elements from the array.
Check if the given integer is prime number or not
Print all the prime no. from zero to n
Print all possible substring of a give string
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.