Given an array arr[] of N elements and an integer K, the task is to perform at most K operation on the array. In the… Read More

# Tag Archives: Binary Search

Given an integer K and a matrix of size N x M, where each matrix element is equal to the product of its indices(i *… Read More

Given an integer array A[ ] of size N, the task is to find a subsequence of size B such that the minimum difference between… Read More

Given the constants of quadratic equation F(x) = Ax2 + Bx + C as A, B, and C and an integer K, the task is… Read More

An algorithm like Binary Search can be understood easily by visualizing. In this article, a program that visualizes the Binary Search Algorithm has been implemented.… Read More

Given string str of length N, the task is to find the longest substring which contains only vowels using the Binary Search technique.Examples: Input: str… Read More

Given a number X, the task is to find the minimum number N such that the sum of the count of all factors from 1… Read More

Given an unsorted array arr[] of N integers that are in Arithmetic Progression, the task is to print the missing element from the given series.Examples: … Read More

Given an array arr[], the task is to find the number of rotations required to convert the given array to sorted form.Examples: Input: arr[] =… Read More

Given 5 integers say A, B, C, D, and E which represents the cubic equation , the task is to find the integral solution for… Read More

Given two numbers N and K, the task is to find the floor value of Kth root of the number N. The Floor Kth root… Read More

Check if a given number N is a perfect square or not. If yes then return the number of which it is a perfect square,… Read More