Uploaded June 2025 | Updated November 2026, 3 hours 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
6:04 Interleaved Strings
31:53 String Notation
36:15 Recursive Interleaving
51:08 Reconstructing the Interleaving Sequence
1:06:57 Longest Common Subsequence
1:29:13 Reconstructing the LCS
The string interleaving problem was adapted from Exercise 3.6 in Algorithms by J. Erickson (https://jeffe.cs.illinois.edu/teaching/algorithms/) while the visualization for that problem was inspired by neetcode.io/problems/interleaving-string
All slides and diagrams are original content (developed in mid-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
6:04 Interleaved Strings
31:53 String Notation
36:15 Recursive Interleaving
51:08 Reconstructing the Interleaving Sequence
1:06:57 Longest Common Subsequence
1:29:13 Reconstructing the LCS
The string interleaving problem was adapted from Exercise 3.6 in Algorithms by J. Erickson (https://jeffe.cs.illinois.edu/teaching/algorithms/) while the visualization for that problem was inspired by neetcode.io/problems/interleaving-string
All slides and diagrams are original content (developed in mid-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).










