Back to Browse

COUNT UNIQUE CHARACTERS OF ALL SUBSTRINGS OF A GIVEN STRING | LEETCODE 828 | PYTHON SOLUTION

2.0K views
Dec 21, 2022
29:13

Discord Community: https://discord.com/invite/s8JX2ARnSg Problem Link: https://leetcode.com/problems/count-unique-characters-of-all-substrings-of-a-given-string/description/ In this video we are solving probably the hardest question I've ever done on the channel: Count Unique Characters of All Substrings of a Given String (Leetcode 828). This question is ridiculous... The solution is easy to code but wrapping your head around how it all works is wild and takes a dry-run or two to get because it's a super clever solution but hard to parse on the first time through. TIMESTAMPS 00:00 Intro 00:11 Question Prompt 00:50 Basic Example 02:38 Solution Intuition 20:34 Coding 28:00 Outro

Download

1 formats

Video Formats

360pmp437.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

COUNT UNIQUE CHARACTERS OF ALL SUBSTRINGS OF A GIVEN STRING | LEETCODE 828 | PYTHON SOLUTION | NatokHD