Given an array arr[] containing integers. The task is to find the largest positive integer x missing from the array such that min(arr[]) < x… Read More

Given an array arr[]. The task is to minimize the cost of reducing the array with a given operation. In one operation choose two elements… Read More

Given an array arr[], the task is to find the count of elements in the given array such that there exists an element strictly smaller… Read More

Count elements in Array appearing only once and don’t have its consecutive next and previous present

Given an array arr[]. The task is to count elements in the array that appears only once and it’s consecutive next (arr[i]+1) and prev (arr[I]… Read More

Given an integer N, the task is to find all N digit integers with sequential digits Examples: Input: N = 4Output: {1234, 2345, 3456, 4567,… Read More

Given an array arr[]. The task is to check whether it is a mountain array or not. A mountain array is an array of length… Read More

Given a linked list lis of length N, the task is to determine the maximum distance between two consecutive peaks of the given linked list.… Read More

Given an array arr[] of size N, the task is to find the last remaining element of the array after consecutively removing the 1st and… Read More

Given string str, the task is to find the frequency of all digits (0-9) in a string created by concatenating the ASCII values of each… Read More

Given a square matrix M[][] of size N*N, the task is to reduce that matrix into a matrix of size N-1 * N-1 using the… Read More

Given two arrays A[] and B[] of size N each, the task is to minimize A[i] + B[j] such that j ≥ i. Examples: Input:… Read More

Given two arrays A and B each of size N, the task is to check if the sequencing of both the arrays is the same… Read More

Square is a Two-Dimensional (2D) figure which has 4 sides of all equal length. The area of a square concept comes under the topic mensuration… Read More

Geometry is a branch of mathematics that involves the calculation of different parameters of plane shapes and solid shapes. In this article, we have discussed… Read More

Interquartile Range is related to the quartile concept which comes under parent topic statistics which is a study of the collection of data, analyzing, interpreting,… Read More