Noble Integer Interviewbit SolutionGiven an integer array A, find if an integer p exists in the array such that the number of integers greater than p in the array equals to p.
First Missing Integer Interviewbit SolutionGiven an unsorted integer array, find the first missing positive integer. Example: Given [1,2,0] return 3, [3,4,-1,1] return 2, [-8, -7, -6
Set Matrix Zeros Interviewbit SolutionGiven a matrix, A of size M x N of 0s and 1s. If an element is 0, set its entire row and column to 0. Note: This will be evaluated on the e
Maximum Consecutive Gap Interviewbit SolutionGiven an unsorted array, find the maximum difference between the successive elements in its sorted form. Try to solve it in linear time/spac
Find Duplicate in Array Interviewbit SolutionGiven a read only array of n + 1 integers between 1 and n, find one number that repeats in linear time using less than O(n) space and traver
Triplets with Sum between given range Interviewbit SolutionGiven an array of real numbers greater than zero in form of strings. Find if there exists a triplet (a,b,c) such that 1 < a+b+c < 2 . Return
Merge Overlapping IntervalsGiven a collection of intervals, merge all overlapping intervals. For example: Given [1,3],[2,6],[8,10],[15,18], return [1,6],[8,10],[15,18