Most teachers introduce solutions as fully-formed recipes. But in doing so, they totally miss how solutions are DISCOVERED. In painstaking detail, I go through this crucial missing piece and demonstrate how to methodically attack problems from every possible angle.
My teaching: https://watchandcode.com
Link to problem: https://leetcode.com/problems/best-ti...
0:00 Understanding the problem
0:59 Initial thought process
2:59 Brute-force implementation
3:55 Brute-force analysis
4:34 Dream sequence
6:23 Performant implementation
7:25 Why this feels hard
Смотрите видео Best Time to Buy And Sell Stock - LeetCode 121 - Python онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Gordon Zhu 03 Июнь 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 373 раз и оно понравилось 36 людям.