leetcode icon indicating copy to clipboard operation
leetcode copied to clipboard

Bug Report for longest-consecutive-sequence

Open abhishekshenoy opened this issue 1 month ago • 0 comments

Bug Report for https://neetcode.io/problems/longest-consecutive-sequence

Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.

All 3 solutions fail with incorrect response for an input Array of {3,2,4}

The longest subsequence lenght should be 0 but all the solutions give response as 3. 

abhishekshenoy avatar Nov 12 '25 01:11 abhishekshenoy