Longest Consecutive Sequence – Leetcode 128 – JavaScript

preview_player
Показать описание
Leetcode says this problem has been asked by lots of companies. Microsoft has the most tags, but I actually saw this problem on an interview with Spotify. There are a few different ways to solve this problem in O(n) time, but I go over just one of them in detail in this video. Hope you all find the video helpful :)

Timestamps:
00:00 – Problem Description
01:50 – Solution Drawing
15:09 – Code Walkthrough
19:23 – Leetcode Submission

#codinginterview #algorithm #microsoft #spotify #leetcode #array
Рекомендации по теме
Комментарии
Автор

The way you explained this made the solution finally click for me. Love how you broke down the problem

marcogaspari
Автор

explanation was the best I've seen so far hands down. Thank you so much

shaquillemandy
Автор

thanks man !, keep up the hard work !

justcodingandwhatnot