InterviewBit Problems   Maximum Consecutive Gap : Solved


About the Maximum Consecutive Gap : Solved category (1)
C++, bucket sort, O(n) time and space, with explanations (1)
Java o(nlogk) solution (1)
Easy explanation of solution using bucket sort in python 3 (1)
Easy Solution which works because C++ std sort is O(nlogn)! (1)
Python 3 O(n) Solution using Bucketing Technique (1)
Simple and easy solution using java (2)
[C++] Simple Solution using priority queue (4)
Check solution for custom input (1)
Using radixSort in place of standard sort (1)
If you see : Set, Priority Queue, Sort; that soln is not Correct. Here is one with Pigeonhole principal (1)
Easiest and fastest approach C++ (1)
Simple answer here (1)
Simple solution using priority queue (1)
C++ code using STL, short , simple and fast (2)
Solution is correct but memory limit exceeded. Why so? (1)
Simple Solution in JS using Objects (1)
O(n) solution in space and time using C++ (1)
Solution with O(n) space and time C++ (1)
Python O(N) solution. very easy (2)
As we can't sort Const of vector is given therefore making a cpoy (1)
Simple,Short,Optimal and Easy (1)
Why does this correct O(n) code give a TLE? Partially accepted solution (1)
Why does this correct O(n) code give TLE ? Same code gets accepted on LeetCode (1)
Memory Limit Exceeded - Maximum Consecutive Gap (1)
C++ O(n) by using heap (6)
Easy C++ solution with O(n) complexity (2)
Python solution easy (1)
Solution in O(n) (3)
Time O(N log N ) & Memory O(1) Solution in JAVA (1)