## Count of quadruplets with given Sum

Given four arrays containing integer elements and an integer sum, the task is to count the quadruplets such that each element is chosen from a… Read More »

- Maximum absolute difference in an array
- Program to find the Nth Prime Number
- Predict the winner in Coin Game
- Check whether the triangle is valid or not if angles are given
- Count of quadruplets with given Sum
- Check whether the given string is a valid identifier
- Minimum steps required to convert the matrix into lower hessenberg matrix
- Largest and smallest digit of a number
- Count of elements whose absolute difference with the sum of all the other elements is greater than k
- Find the volume of rectangular right wedge
- Blog | Programming Guidelines
- Number of positions such that adding K to the element is greater than sum of all other elements
- Find the sum of the number of divisors
- Find number of magical pairs of string of length L
- Find the sum of the first half and second half elements of an array
- Find the character made by adding all the characters of the given string
- Check whether Quadrilateral is valid or not if angles are given
- Count the number of occurrences of a particular digit in a number
- Ratio of the distance between the centers of the circles and the point of intersection of two direct common tangents to the circles
- Compare sum of first N-1 elements to Nth element of an array
- Find the first N integers such that the sum of their digits is equal to 10
- Minimum number of steps to convert a given matrix into Upper Hessenberg matrix
- Generate an array having Bitwise AND of the previous and the next element
- Find the height of a right-angled triangle whose area is X times its base
- Find the sum of Eigen Values of the given N*N matrix
- Find the remainder when First digit of a number is divided by its Last digit
- Program to find the number of men initially
- Distance between two parallel lines
- Area of triangle formed by the axes of co-ordinates and a given straight line
- Find area of the larger circle when radius of the smaller circle and difference in the area is given

Given four arrays containing integer elements and an integer sum, the task is to count the quadruplets such that each element is chosen from a… Read More »

Given two straight lines with co-efficients of there equations a1x + b1y + c1 = 0 and a2x + b2y + c2 = 0 respectively,… Read More »

Given a straight line with equation coefficients as a, b & c(ax + by + c = 0), the task is to find the area… Read More »

Given are two parallel straight lines with slope m, and different y-intercepts b1 & b2.The task is to find the distance between these two parallel… Read More »

Given a string str, the task is to check if the string is a valid identifier or not. In order to qualify as a valid… Read More »

Given an array arr[] of N integers, the task is to find the maximum absolute difference between any two elements of the array. Examples: Input:… Read More »

Given an integer m which is the slope of a line, the task is to find the slope of the line which is parallel to… Read More »

Given an array arr[] of N integers and an integer K, the task is to find the number of anomalies in the array. An anomaly is a number for… Read More »

Given three integers A, B, C, the task is to find ΣAi=1 ΣBj=1ΣCk=1 d(i.j.k), where d(x) is the number of divisors of x. Answer can… Read More »

Given an integer N, the task is to find the number of odd days in the years from 1 to N. Odd Days: Number of… Read More »

Given here is a semicircle of radius r, which inscribes a rectangle which in turn inscribes an ellipse. The task is to find the area… Read More »

Given the string the task is to remove the first and last character of each word in a string. Examples: Input: Geeks for geeks Output:… Read More »

Given the string, the task is to capitalise the first and last character of each word in a string. Examples: Input: Geeks for geeks Output:… Read More »

Given an array of N integers. The task is to print the elements from the array which are greater than their immediate previous and next… Read More »

Given string str. The task is to check if the string contains consecutive letters and each letter occurs exactly once. Examples: Input: str = “fced”… Read More »