Longest Consecutive Sequence | Leetcode 128 | Live coding session

preview_player
Показать описание
Here is the solution to "Longest Consecutive Sequence" leetcode question. Hope you have a great time going through it.

Chapters
1) 0:00 Explaining the problem out loud
2) 1:10 Question walkthrough
3) 2:00 Approach walkthrough
4) 10:00 Coding it up

For discussion/feedback

PS : Please increase the speed to 1.25X
Рекомендации по теме
Комментарии
Автор

the problem seems difficult, but once i see ur way of solving it look like a cakewalk 🙏 respect 🙏

coolraviraj
Автор

Hello sir,
This was a nice approach, but can you please tell if there exists some approach that can be done in constant auxiliary space with O(n) time complexity.
Thanks!

kanchanjeswani
welcome to shbcf.ru