Solve Striver's DSA / SDE Sheet in Python, one problem at a time. Every video explains the idea first, then writes the code, and names the LeetCode problem where there is one. Topics: arrays, sliding window, matrices, hashing, stacks, linked lists, binary trees, binary search trees, graphs (BFS, DFS, shortest paths, topological sort), disjoint set (union find) and minimum spanning trees. Start at DSA #1 and go in order: the video number is in every title.
Curated by: Vinay Mishra (105 videos)
Solve Number of Islands II (LeetCode 305) using Disjoint Set Union (Union Find) in Python, step by step. Problem: https://leetcode.com/problems/number-of-islands-ii/ Previous video (#103): https://youtu.be/6O0COABbW_E Full playlist - DSA using Python in 50 days (Striver SDE Sheet): https://www.youtube.com/playlist?list=PL4yL5rqgtVtpCBRHBOgeV762beQ2o6Wkt #leetcode #dsa #python #unionfind