companyhub
DashboardCompaniesProblemsSheetsBookmarksRevisionsAnalyticsLeaderboardCompare
Settings
Sign in
DashboardCompaniesProblemsSheetsBookmarks
Medium

Longest Consecutive Sequence

asked by 40 companies

Solve on LeetCode
ArrayHash TableUnion-Find

Workspace

Scratch, run, iterate — then submit on LeetCode

Custom input (stdin)

Console

Output appears here. Runs on the free Piston sandbox.

Your notes

Sign in to keep markdown notes on this problem — approach, complexity, gotchas.

Who asks this

Wissen100Paytm100Nvidia88Zepto88Okta88Bloomberg75Walmart Labs75Google75Microsoft75Amazon75Tiktok63Lyft63Adobe63Myntra63Oracle63Paypal63Capgemini63Tesla63Swiggy63DE Shaw63Bitgo63Epam Systems63Ibm63Meta50

Related problems

Two Sum
Easy
Merge Intervals
Medium
Best Time to Buy and Sell Stock
Easy
Group Anagrams
Medium
Number of Islands
Medium