InterviewBit Problems   Longest Consecutive Sequence : Solved


About the Longest Consecutive Sequence : Solved category (1)
Python in o(n) using dict (1)
IMHO the Editorial Solution is running in `O(N^2)`. Do you agree? (2)
Simple O(n) solution using unordered set (1)
[C++] Simple Solution O(n) (1)
Just Use Priority Queue in Java (1)
O(n) solution by sorting the list using a set (counting sort) (1)
Clean JAVA code with Comments (1)
Simplest C++ sol using Map in O(N) and neat clean code (1)
Easy C++ solution {O(n)} (1)
EZPZ... C++ Solution (1)
C++ solution 6 lines (3)
C++ hashing with unordered map (1)
C++ simple & short solution (2)
Python solution with set (1)
Java Solution using Collection.sort (3)
Java O(N) with HashSet, 4 pass (1)
[Java] HashSet Solution (1)
Using python hash table , O(N) SPACE AND O(N) TIME (1)
Using set C++ easy solution (1)
Weak test cases O(max(A[i])) solution gets accepted (1)
Super simple and elegant O(n) python solution (with comments) (1)
Ruby O(n) Time O(n) space (1)
A O(n) java Solution the should not pass (2)
Using set in python (1)
Simplest CPP O(n) solution using hashing (2)
Very simple python3 Solution (1)
C++ Solution using unordered_set (1)
Using the hashing concept in c++ (1)
JAVA O(N) solution using Set. The editorial solution seems better though (1)