## Height of Pyramid formed with given Rectangular Box

Given an array of rectangular blocks with dimensions {l, b} of length m. we can shape each of rectangular blocks into a single square block… Read More »

## Print the frequency of each character in Alphabetical order

Given a string str, the task is to print the frequency of each of the characters of str in alphabetical order. Example: Input: str =… Read More »

## Maximum number of line intersections formed through intersection of N planes

Given N planes. The task is to find the maximum number of line intersections that can be formed through the intersections of N planes. Examples:… Read More »

## Find the character made by adding all the characters of the given string

Given a string str consisting of lowercase English alphabets. The task is to add all the character values i.e. ‘a’ = 1, ‘b’ = 2,… Read More »

## Generate an array having Bitwise AND of the previous and the next element

Given an array of integers arr[] of N elements, the task is to generate another array having (Bitwise) AND of previous and next elements with… Read More »

## Find the first N integers such that the sum of their digits is equal to 10

Given an integer N, the task is to print first N integers whose sum of digits is 10. Examples: Input: N = 4 Output: 19… Read More »

## Find the remainder when First digit of a number is divided by its Last digit

Given a number N, find the remainder when the first digit of N is divided by its last digit. Examples: Input: N = 1234 Output:… Read More »

## Find the remaining balance after the transaction

Given the initial balance as bal and the amount X to be debited, where X must be a multiple of 10 and rupees 1.50 is… Read More »

## Count the number of occurrences of a particular digit in a number

Given a number N and a digit D, the task is to count the occurrences of D in N. Examples: Input: N = 25, D… Read More »

## Program to find the Nth Prime Number

Given an integer N. The task is to find the Nth prime number. Examples: Input : 5 Output : 11 Input : 16 Output :… Read More »

## Find area of the larger circle when radius of the smaller circle and difference in the area is given

Given two integers r and d where r is the radius of the smaller circle and d is the difference of the area of this… Read More »

## Check whether Quadrilateral is valid or not if angles are given

Given four integers A, B, C and D which represents the four angles of a Quadrilateral in degrees. The task is to check whether the… Read More »

## Find the sum of the first half and second half elements of an array

Given an array arr of size N. The task is to find the sum of the first half (N/2) elements and second half elements (N… Read More »

## Time taken per hour for stoppage of Car

A car travels with an average speed of S km/h without any stoppage and with stoppage the speed of car reduces to an average of… Read More »

## Check whether the triangle is valid or not if angles are given

Given three integers A, B and C which are the three angles of a possible triangle in degrees, the task is to check whether the… Read More »