Ransom Note - LeetCode 383 - Python

preview_player
Показать описание
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.

0:00 Ransom Note problem statement
0:32 Initial thought process
2:31 First implementation
3:52 Big O analysis
4:57 Zooming out to a broader level
6:07 Second implementation
7:26 Big O analysis
8:02 Which is better?
8:19 Final thoughts
Рекомендации по теме
Комментарии
Автор

What did you think about my analysis at 8:02?

GordonZhu
welcome to shbcf.ru