This video shows you how to find the longest substring of repeating characters in Python 3. You can perform a single scan through the string rather than check every single possible substring, resulting in a linear runtime.
Be sure to like, comment, and subscribe!
0:00 Explaining the algorithm
4:41 Implementing the algorithm
8:48 Testing the code
Download
0 formats
No download links available.
Find the Longest Substring of Repeating Characters in Python | NatokHD