## Sum of array elements excluding the elements which lie between a and b

Given an array of N unique numbers. Also given two numbers a and b such that a will always be before b in the array.… Read More »

Given an array of N unique numbers. Also given two numbers a and b such that a will always be before b in the array.… Read More »

Given four arrays of 3 numbers each which represents sides and angles of two triangles. The task is to check if the two triangles are… Read More »

Given a railway seat number, the task is to check whether it is a valid seat number or not. Also print its berth type i.e… Read More »

Given the side of a Pentagon, the task is to find the area of the Pentagon. Examples: Input : a = 5 Output: Area of… Read More »

Given the side of a square. The task is to find the area of an inscribed circle in a square. Examples: Input : a =… Read More »

The remainder is the integer left over after dividing one integer by another. The quotient is the quantity produced by the division of two numbers.… Read More »

In mathematics, a triangular prism is a three-dimensional solid shape with two identical ends connected by equal parallel lines, and have 5 faces, 9 edges,… Read More »

Given a string of digits and characters. Write a program to find the number with the maximum number of digits in a string. Note: The… Read More »

Given four array of 3 numbers each which represents sides and angles of two triangles. The task is to check if two triangles are similar… Read More »

Given a number, the only operation allowed is to multiply the number by 2. Calculate the minimum number of operations to make the number divisible… Read More »

Given three integers a, b and n, the task is to find out greater value between an and bn. Examples: Input: a = 3, b… Read More »

Given a number N and a digit D. Write a program to find how many times the digit D appears in the number N. Examples… Read More »

We are given a number n, we need to find n-th centered octahedral number. Description: A centered octahedral number is a figurate number. It counts… Read More »

Given a number n, we need to find the product of all of its unique prime factors. Prime factors: It is basically a factor of… Read More »

Given three integers A, B and N the task is to find N Geometric means between A and B. WE basically need to insert N… Read More »