Uploaded May 2025 | Updated November 2026, 47 minutes ago
This video was made as part of a second-year undergraduate algorithms course sequence (Algorithms and Data Structures I and II).
0:00 Introduction
2:23 Linear Search
17:02 PairSum225
26:07 Comparing Algorithms
35:43 Operation Counts
43:25 SumArray Analysis
45:38 ContainsDuplicate Analysis - Nested Loops
49:03 ContainsDuplicate Analysis - Nested Loops (Improved)
1:07:12 Induction Exercises
1:10:48 ContainsDuplicate Analysis - Sort and Scan
1:13:42 Comparing Worst Case Performance
The technique of using a hypothetical architecture as a surrogate for operation counting was taken from the book "Algorithm Design" by M. Goodrich and R. Tamassia.
All slides and diagrams are original content (developed between 2015 and 2025). The materials used in this video, and the video itself, were prepared without any assistance from generative AI.
As any viewer will quickly realize, these videos were made just like in-person lectures: in one sitting, with no breaks, editing or script. If you find any of this helpful or interesting, please let me know (I really appreciate any other feedback as well).
This video was made as part of a second-year undergraduate algorithms course sequence (Algorithms and Data Structures I and II).
0:00 Introduction
2:23 Linear Search
17:02 PairSum225
26:07 Comparing Algorithms
35:43 Operation Counts
43:25 SumArray Analysis
45:38 ContainsDuplicate Analysis - Nested Loops
49:03 ContainsDuplicate Analysis - Nested Loops (Improved)
1:07:12 Induction Exercises
1:10:48 ContainsDuplicate Analysis - Sort and Scan
1:13:42 Comparing Worst Case Performance
The technique of using a hypothetical architecture as a surrogate for operation counting was taken from the book "Algorithm Design" by M. Goodrich and R. Tamassia.
All slides and diagrams are original content (developed between 2015 and 2025). The materials used in this video, and the video itself, were prepared without any assistance from generative AI.
As any viewer will quickly realize, these videos were made just like in-person lectures: in one sitting, with no breaks, editing or script. If you find any of this helpful or interesting, please let me know (I really appreciate any other feedback as well).










