Strivers A2Z-DSA Course | DSA Playlist | Placements

by take U forward · 200 videos · first 200 of 316

Listed in Best free DSA courses on YouTube, ranked by total hours

Total watch time

3d 27m

at speed · exactly 3 days, 27 minutes, 20 seconds at 1×

3d 27m 20s
1.25×2d 9h 57m 52s
1.5×2d 18m 13s
1.75×1d 17h 24m 11s
1d 12h 13m 40s
Average video21m 44s
Longest1h 26m 27s
Shortest4m 9s
Compare Open on YouTube JSON

Plan to finish

About 73 days at an hour a day

Pick a daily pace and the days you'll watch. Ticked videos are skipped.

Days

At one hour a day, every day, this playlist takes about 73 days. Turn on JavaScript to plan around your week.

Videos (200)

3d 27m in total · tick what you've watched

Tick videos you've watched — progress is saved in this browser.

Videos to
Watched
1 Don't watch my A2Z DSA Course 8:24 2024-03-01
2 How to setup VS code for DSA and CP | Input / Output split format 8:51 2023-09-27
3 C++ Basics in One Shot - Strivers A2Z DSA Course - L1 1:26:27 2022-12-19
4 Time and Space Complexity - Strivers A2Z DSA Course 35:16 2022-12-31
5 Solve any Pattern Question - Trick Explained | 22 Patterns in 1 Shot | Strivers A2Z DSA Course 1:22:06 2023-01-02
6 Complete C++ STL in 1 Video | Time Complexity and Notes 1:07:37 2022-06-04
7 Basic Maths for DSA | Euclidean Algorithm | Strivers A2Z DSA Course 1:03:20 2023-01-08
8 Re 1. Introduction to Recursion | Recursion Tree | Stack Space | Strivers A2Z DSA Course 22:46 2021-12-25
9 Re 2. Problems on Recursion | Strivers A2Z DSA Course 22:04 2021-12-25
10 Re 3. Parameterised and Functional Recursion | Strivers A2Z DSA Course 18:14 2021-12-25
11 Re 4. Problems on Functional Recursion | Strivers A2Z DSA Course 19:48 2021-12-25
12 Re 5. Multiple Recursion Calls | Problems | Strivers A2Z DSA Course 16:45 2021-12-25
13 Hashing | Maps | Time Complexity | Collisions | Division Rule of Hashing | Strivers A2Z DSA Course 1:00:06 2023-01-20
14 Sorting - Part 1 | Selection Sort, Bubble Sort, Insertion Sort | Strivers A2Z DSA Course 43:44 2023-01-29
15 Merge Sort | Algorithm | Pseudocode | Dry Run | Code | Strivers A2Z DSA Course 49:43 2023-02-08
16 Quick Sort For Beginners | Strivers A2Z DSA Course 35:17 2023-02-27
17 Find Second Largest Element in Array | Remove duplicates from Sorted Array | Arrays Intro Video 43:26 2023-03-01
18 Rotate Array by K places | Union, Intersection of Sorted Arrays | Move Zeros to End | Arrays Part-2 1:13:17 2023-03-05
19 Find element that appears once | Find missing number | Max Consecutive number of 1's | Arrays Part-3 38:00 2023-03-10
20 Longest Subarray with sum K | Brute - Better - Optimal | Generate Subarrays 41:42 2023-03-13
21 2 Sum Problem | 2 types of the same problem for Interviews | Brute-Better-Optimal 18:20 2023-03-14
22 Sort an array of 0's 1's & 2's | Intuition of Algo🔥 | C++ Java Python | Brute-Better-Optimal 25:07 2023-03-15
23 Majority Element I | Brute-Better-Optimal | Moore's Voting Algorithm | Intuition 🔥|Brute to Optimal 18:13 2023-03-16
24 Kadane's Algorithm | Maximum Subarray Sum | Finding and Printing 20:09 2023-03-17
25 DP 35. Best Time to Buy and Sell Stock | DP on Stocks 🔥 9:11 2022-03-15
26 Rearrange Array Elements by Sign | 2 Varieties of same Problem 21:37 2023-03-18
27 Next Permutation - Intuition in Detail 🔥 | Brute to Optimal 28:15 2023-03-23
28 Leaders in an Array | Brute - Optimal | Strivers A2Z DSA Course 11:53 2023-03-24
29 Longest Consecutive Sequence | Google Interview Question | Brute Better Optimal 23:11 2023-03-27
30 Set Matrix Zeroes | O(1) Space Approach | Brute - Better - Optimal 30:07 2023-03-28
31 Rotate Matrix/Image by 90 Degrees | Brute - Optimal 17:47 2023-03-30
32 Spiral Traversal of a Matrix | Spiral Matrix 16:33 2023-04-02
33 Count Subarray sum Equals K | Brute - Better -Optimal 24:09 2023-04-03
34 Pascal Triangle | Finding nCr in minimal time 26:45 2023-04-05
35 Majority Element II | Brute-Better-Optimal 26:58 2023-04-14
36 3 Sum | Brute - Better - Optimal with Codes 38:25 2023-04-17
37 4 Sum | Brute - Better - Optimal with Codes 28:47 2023-04-18
38 Number of Subarrays with xor K | Brute - Better - Optimal 24:55 2023-04-25
39 Merge Overlapping Intervals | Brute, Optimal with Precise TC analysis 22:35 2023-04-25
40 Merge Sorted Arrays Without Extra Space | 2 Optimal Solution 32:47 2023-04-27
41 Find the Missing and Repeating Number | 4 Approaches 🔥 42:24 2023-04-29
42 Count Inversions in an Array | Brute and Optimal 24:17 2023-05-08
43 Reverse Pairs | Hard Interview Question 32:26 2023-05-08
44 Maximum Product Subarray - Best Intuitive Approach Discussed 20:27 2023-05-10
45 BS-1. Binary Search Introduction | Real Life Example | Iterative | Recursive | Overflow Cases 33:27 2023-06-01
46 BS-2. Implement Lower Bound and Upper Bound | Search Insert Position | Floor and Ceil 32:26 2023-06-01
47 BS-3. First and Last Occurrences in Array | Count occurrences in Array 25:28 2023-06-01
48 BS-4. Search Element in Rotated Sorted Array - I 16:38 2023-06-01
49 BS-5. Search Element in Rotated Sorted Array II 12:44 2023-06-01
50 BS-6. Minimum in Rotated Sorted Array 17:08 2023-06-01
51 BS-7. Find out how many times array has been rotated 5:01 2023-06-01
52 BS-8. Single Element in Sorted Array 22:16 2023-06-01
53 BS-9. Find Peak Element 32:53 2023-06-20
54 BS-10. Finding Sqrt of a number using Binary Search 17:11 2023-06-20
55 BS-11. Find the Nth root of an Integer 20:44 2023-06-21
56 BS-12. Koko Eating Bananas 21:04 2023-06-21
57 BS-13. Minimum days to make M bouquets | Binary Search 26:01 2023-06-22
58 BS-14. Find the Smallest Divisor Given a Threshold | Binary Search 16:00 2023-06-22
59 BS-15. Capacity to Ship Packages within D Days 20:36 2023-06-23
60 BS-16. Kth Missing Positive Number | Maths + Binary Search 22:52 2023-06-23
61 BS-17. Aggressive Cows | Binary Search Hard 26:44 2023-06-27
62 BS-18. Allocate Books or Book Allocation | Hard Binary Search 27:29 2023-06-27
63 BS 19. Painter's Partition and Split Array - Largest Sum 11:20 2023-07-12
64 BS-20. Minimise Maximum Distance between Gas Stations | 3 Approaches | Heap | Binary Search 59:12 2023-07-16
65 BS 21: Median of two Sorted Arrays of Different Sizes | Brute and Better Approach 15:59 2023-08-13
66 BS-21. Median of two Sorted Arrays of Different Sizes | Binary Search Approach With Intuition 35:00 2023-08-13
67 Bs-22. K-th element of two sorted arrays | Binary Search Approach 11:53 2023-08-13
68 BS 23. Row with maximum number of 1s | Binary Search on 2D Arrays 10:18 2023-08-13
69 BS-24. Search in a 2D Matrix - I | Binary Search of 2D 15:42 2023-08-13
70 BS-25. Search in a 2D Matrix - II | Binary Search on 2D 15:29 2023-08-13
71 BS-26. Find Peak Element-II | Binary Search 20:02 2023-09-12
72 BS-27. Median in a Row Wise Sorted Matrix 23:13 2023-09-13
73 L1. Introduction to Trees | Types of Trees 9:50 2021-08-20
74 L2. Binary Tree Representation in C++ 4:43 2021-08-20
75 L3. Binary Tree Representation in Java 4:12 2021-08-20
76 L4. Binary Tree Traversals in Binary Tree | BFS | DFS 9:59 2021-08-20
77 L5. Preorder Traversal of Binary Tree | C++ | Java | Code Explanation 7:29 2021-08-21
78 L6. Inorder Traversal of Binary Tree | C++ | Java | Code Explanation 7:07 2021-08-21
79 L7. Postorder Traversal of Binary Tree | C++ | Java | Code Explanation 5:31 2021-08-21
80 L8. Level Order Traversal of Binary Tree | BFS | C++ | Java 8:57 2021-08-21
81 L9. Iterative Preorder Traversal in Binary Tree | C++ | Java | Stack 6:50 2021-08-22
82 L10. iterative Inorder Traversal in Binary Tree | C++ | Java | Stack 11:14 2021-08-22
83 L11. Iterative Postorder Traversal using 2 Stack | C++ | Java | Binary Tree 4:09 2021-08-22
84 L12. Iterative Postorder Traversal using 1 Stack | C++ | Java | Binary Trees 12:33 2021-08-22
85 L13. Preorder Inorder Postorder Traversals in One Traversal | C++ | Java | Stack | Binary Trees 10:57 2021-08-22
86 L14. Maximum Depth in Binary Tree | Height of Binary Tree | C++ | Java 8:05 2021-08-22
87 L15. Check for Balanced Binary Tree | C++ | Java 12:30 2021-08-23
88 L16. Diameter of Binary Tree | C++ | Java 13:47 2021-08-23
89 L17. Maximum Path Sum in Binary Tree | C++ | Java 17:50 2021-08-23
90 L18. Check it two trees are Identical or Not | C++ | Java 4:18 2021-08-23
91 L19. Zig-Zag or Spiral Traversal in Binary Tree | C++ | Java 8:21 2021-08-23
92 L20. Boundary Traversal in Binary Tree | C++ | Java 9:47 2021-08-23
93 L21. Vertical Order Traversal of Binary Tree | C++ | Java 18:53 2021-08-29
94 L22. Top View of Binary Tree | C++ | Java 10:30 2021-08-29
95 L23. Bottom View of Binary Tree | C++ | Java 13:13 2021-08-29
96 L24. Right/Left View of Binary Tree | C++ | Java 13:28 2021-08-29
97 L25. Check for Symmetrical Binary Trees | C++ | Java 9:20 2021-08-29
98 L26. Print Root to Node Path in Binary Tree | C++ | Java 11:00 2021-08-29
99 L27. Lowest Common Ancestor in Binary Tree | LCA | C++ | Java 14:09 2021-08-29
100 L28. Maximum Width of Binary Tree | C++ | Java 22:41 2021-08-30
101 L29. Children Sum Property in Binary Tree | O(N) Approach | C++ | Java 16:13 2021-08-30
102 L30. Print all the Nodes at a distance of K in Binary Tree | C++ | Java 17:42 2021-08-30
103 L31. Minimum time taken to BURN the Binary Tree from a Node | C++ | Java 18:24 2021-08-30
104 L32. Count total Nodes in a COMPLETE Binary Tree | O(Log^2 N) Approach | C++ | Java 16:13 2021-08-31
105 L33. Requirements needed to construct a Unique Binary Tree | Theory 8:41 2021-08-31
106 L34. Construct a Binary Tree from Preorder and Inorder Traversal | C++ | Java 18:52 2021-08-31
107 L35. Construct the Binary Tree from Postorder and Inorder Traversal | C++ | Java 19:46 2021-08-31
108 L36. Serialize and De-serialize Binary Tree | C++ | Java 17:18 2021-09-01
109 L37. Morris Traversal | Preorder | Inorder | C++ | Java 23:50 2021-09-01
110 L38. Flatten a Binary Tree to Linked List | 3 Approaches | C++ | Java 21:51 2021-09-01
111 L39. Introduction to Binary Search Tree | BST 8:54 2021-09-01
112 L40. Search in a Binary Search Tree | BST | C++ | Java 6:33 2021-09-01
113 L41. Ceil in a Binary Search Tree | BST | C++ | Java 5:36 2021-09-01
114 L42. Floor in a Binary Search Tree | BST | C++ | Java 5:00 2021-09-01
115 L43. Insert a given Node in Binary Search Tree | BST | C++ | Java 8:18 2021-09-01
116 L44. Delete a Node in Binary Search Tree | BST | C++ | Java 15:48 2021-09-01
117 L45. K-th Smallest/Largest Element in BST 8:27 2021-10-25
118 L46. Check if a tree is a BST or BT | Validate a BST 9:39 2021-10-26
119 L47. LCA in Binary Search Tree 8:06 2021-10-27
120 L48. Construct a BST from a preorder traversal | 3 Methods 16:32 2021-10-28
121 L49. Inorder Successor/Predecessor in BST | 3 Methods 10:47 2021-10-29
122 L50. Binary Search Tree Iterator | BST | O(H) Space 14:00 2021-10-30
123 L51. Two Sum In BST | Check if there exists a pair with Sum K 15:06 2021-10-31
124 L52. Recover BST | Correct BST with two nodes swapped 15:56 2021-11-06
125 L53. Largest BST in Binary Tree 17:27 2021-11-07
126 G-1. Introduction to Graph | Types | Different Conventions Used 13:43 2022-08-04
127 G-2. Graph Representation in C++ | Two Ways to Represent 16:04 2022-08-05
128 G-3. Graph Representation in Java | Two Ways to Represent 13:13 2022-08-05
129 G-4. What are Connected Components ? 7:07 2022-08-06
130 G-5. Breadth-First Search (BFS) | C++ and Java | Traversal Technique in Graphs 19:39 2022-08-07
131 G-6. Depth-First Search (DFS) | C++ and Java | Traversal Technique in Graphs 20:16 2022-08-08
132 G-7. Number of Provinces | C++ | Java | Connected Components 15:29 2022-08-10
133 G-8. Number of Islands | Number of Connected Components in Matrix | C++ | Java 25:04 2022-08-11
134 G-9. Flood Fill Algorithm | C++ | Java 20:34 2022-08-11
135 G-10. Rotten Oranges | C++ | Java 22:30 2022-08-13
136 G-11. Detect a Cycle in an Undirected Graph using BFS | C++ | Java 20:19 2022-08-15
137 G-12. Detect a Cycle in an Undirected Graph using DFS | C++ | Java 19:10 2022-08-16
138 G-13. Distance of nearest cell having 1 | 0/1 Matrix | C++ | Java 20:21 2022-08-17
139 G-14. Surrounded Regions | Replace O's with X's | C++ | Java 23:17 2022-08-29
140 G-15. Number of Enclaves | Multi-source BFS | C++ | Java 15:34 2022-08-30
141 G-16. Number of Distinct Islands | Constructive Thinking + DFS | C++ | Java 18:02 2022-08-30
142 G-17. Bipartite Graph | BFS | C++ | Java 18:29 2022-08-31
143 G-18. Bipartite Graph | DFS | C++ | Java 14:54 2022-08-31
144 G-19. Detect cycle in a directed graph using DFS | Java | C++ 17:22 2022-08-31
145 G-20. Find Eventual Safe States - DFS 23:43 2022-09-03
146 G-21. Topological Sort Algorithm | DFS 13:30 2022-09-05
147 G-22. Kahn's Algorithm | Topological Sort Algorithm | BFS 13:50 2022-09-05
148 G-23. Detect a Cycle in Directed Graph | Topological Sort | Kahn's Algorithm | BFS 6:17 2022-09-05
149 G-24. Course Schedule I and II | Pre-requisite Tasks | Topological Sort 11:32 2022-09-05
150 G-25. Find Eventual Safe States - BFS - Topological Sort 16:57 2022-09-05
151 G-26. Alien Dictionary - Topological Sort 20:54 2022-09-10
152 G-27. Shortest Path in Directed Acyclic Graph - Topological Sort 26:36 2022-09-10
153 G-28. Shortest Path in Undirected Graph with Unit Weights 16:32 2022-09-10
154 G-29. Word Ladder - I | Shortest Paths 28:07 2022-09-10
155 G-30. Word Ladder - 2 | Shortest Paths 25:42 2022-09-10
156 G-31. Word Ladder - 2 | Optimised Approach for Leetcode 23:40 2022-09-10
157 G-32. Dijkstra's Algorithm - Using Priority Queue - C++ and Java - Part 1 22:42 2022-09-28
158 G-33. Dijkstra's Algorithm - Using Set - Part 2 12:29 2022-09-28
159 G-34. Dijkstra's Algorithm - Why PQ and not Q, Intuition, Time Complexity Derivation - Part 3 14:30 2022-09-28
160 G-35. Print Shortest Path - Dijkstra's Algorithm 19:20 2022-10-02
161 G-36. Shortest Distance in a Binary Maze 23:42 2022-10-02
162 G-37. Path With Minimum Effort 24:30 2022-10-02
163 G-38. Cheapest Flights Within K Stops 23:56 2022-10-02
164 G-39. Minimum Multiplications to Reach End 19:31 2022-10-02
165 G-40. Number of Ways to Arrive at Destination 24:06 2022-10-02
166 G-41. Bellman Ford Algorithm 27:43 2022-10-10
167 G-42. Floyd Warshall Algorithm 30:13 2022-10-10
168 G-43. Find the City With the Smallest Number of Neighbours at a Threshold Distance 12:56 2022-10-22
169 G-44. Minimum Spanning Tree - Theory 7:59 2022-10-10
170 G-45. Prim's Algorithm - Minimum Spanning Tree - C++ and Java 19:10 2022-10-10
171 G-46. Disjoint Set | Union by Rank | Union by Size | Path Compression 42:15 2022-10-22
172 G-47. Kruskal's Algorithm - Minimum Spanning Tree - C++ and Java 13:11 2022-10-22
173 G-48. Number of Provinces - Disjoint Set 8:03 2022-10-22
174 G-49. Number of Operations to Make Network Connected - DSU 14:48 2022-10-22
175 G-50. Accounts Merge - DSU 22:01 2022-10-22
176 G-51. Number of Islands - II - Online Queries - DSU 25:32 2022-10-22
177 G-52. Making a Large Island - DSU 26:16 2022-10-22
178 G-53. Most Stones Removed with Same Row or Column - DSU 23:51 2022-10-23
179 G-54. Strongly Connected Components - Kosaraju's Algorithm 22:44 2022-11-22
180 G-55. Bridges in Graph - Using Tarjan's Algorithm of time in and low time 23:25 2022-11-22
181 G-56. Articulation Point in Graph 22:00 2022-11-22
182 DP 1. Introduction to Dynamic Programming | Memoization | Tabulation | Space Optimization Techniques 33:51 2022-01-08
183 DP 2. Climbing Stairs | Learn How to Write 1D Recurrence Relations 13:17 2022-01-09
184 DP 3. Frog Jump | Dynamic Programming | Learn to write 1D DP 38:50 2022-01-10
185 DP 4. Frog Jump with K Distance | Lecture 3 Follow Up Question 17:35 2022-01-12
186 DP 5. Maximum Sum of Non-Adjacent Elements | House Robber | 1-D | DP on Subsequences 32:23 2022-01-12
187 DP 6. House Robber 2 | 1D DP | DP on Subsequences 9:50 2022-01-14
188 DP 7. Ninja's Training | MUST WATCH for 2D CONCEPTS 🔥 | Vacation | Atcoder | 2D DP | 52:18 2022-01-14
189 DP 8. Grid Unique Paths | Learn Everything about DP on Grids | ALL TECHNIQUES 🔥 48:29 2022-01-19
190 DP 9. Unique Paths 2 | DP on Grid with Maze Obstacles 12:59 2022-01-19
191 DP 10. Minimum Path Sum in Grid | Asked to me In Microsoft Internship Interview | DP on GRIDS 23:47 2022-01-19
192 DP 11. Triangle | Fixed Starting Point and Variable Ending Point | DP on GRIDS 34:39 2022-01-25
193 DP 12. Minimum/Maximum Falling Path Sum | Variable Starting and Ending Points | DP on Grids 42:38 2022-01-27
194 DP 13. Cherry Pickup II | 3D DP Made Easy | DP On Grids 43:23 2022-01-29
195 DP 14. Subset Sum Equals to Target | Identify DP on Subsequences and Ways to Solve them 38:49 2022-02-01
196 DP 15. Partition Equal Subset Sum | DP on Subsequences 9:43 2022-02-02
197 Dp 16. Partition A Set Into Two Subsets With Minimum Absolute Sum Difference | DP on Subsequences 29:50 2022-02-03
198 DP 17. Counts Subsets with Sum K | Dp on Subsequences 36:57 2022-02-05
199 DP 18. Count Partitions With Given Difference | Dp on Subsequences 18:00 2022-02-07
200 DP 19. 0/1 Knapsack | Recursion to Single Array Space Optimised Approach | DP on Subsequences 41:19 2022-02-09

Embed a badge

Show the watch time in a README or course description — it links back here and updates itself

Watch time: 3d 27m · 200 videos

Markdown
[![Watch time: 3d 27m · 200 videos](https://playlistduration.com/badge/playlist/PLgUwDviBIf0oF6QL8m22w1hIDC1vJ_BHz.svg)](https://playlistduration.com/playlist/PLgUwDviBIf0oF6QL8m22w1hIDC1vJ_BHz)
HTML
<a href="https://playlistduration.com/playlist/PLgUwDviBIf0oF6QL8m22w1hIDC1vJ_BHz"><img src="https://playlistduration.com/badge/playlist/PLgUwDviBIf0oF6QL8m22w1hIDC1vJ_BHz.svg" alt="Watch time: 3d 27m · 200 videos" width="210" height="20"></a>

Add ?speed=1.5 to the image URL for the time at that speed, ?label=Course to change the left text, or ?style=flat-square for square corners.

Want the numbers themselves? GET https://playlistduration.com/api/v1/playlist/PLgUwDviBIf0oF6QL8m22w1hIDC1vJ_BHz returns them as JSON — free, no key. API docs →

Data from the YouTube Data API as of 2026-09-22 (cached). Private or deleted videos are excluded from totals.