Longest Consecutive Sequence | Google Interview Question | Brute Better Optimal

Описание к видео Longest Consecutive Sequence | Google Interview Question | Brute Better Optimal

Problem Link: https://bit.ly/3GiWSJP

Notes/C++/Java/Python codes: https://takeuforward.org/data-structu...

We have solved the problem, and we have gone from brute force and ended with the most optimal solution. Every approach's code has been written in the video itself. Also, we have covered the algorithm with intuition.

Full Course: https://bit.ly/tufA2ZYt

You can follow me across social media, all my handles are below:

Linkedin/Instagram/Telegram: https://linktr.ee/takeUforward

0:00 Introduction
0:52 Explanation of problem.
1:48 Brutforce approach
4:01 Code
5:21 Better approach
10:30 Code
12:56 Optimal approach
18:35 Code

Комментарии

Информация по комментариям в разработке