Devin's Blog

Home

❯

Coding

❯

Longest Consecutive Sequence

Longest Consecutive Sequence

Feb 03, 20231 min read

  • idea

Note

Can use sets for this problem. Keep in mind that sets are O(1) access


References

https://leetcode.com/problems/longest-consecutive-sequence/


Graph View

Created with Quartz v4.5.0 © 2026

  • GitHub
  • Discord Community