filmov
tv
Leetcode 78. Subsets | Learn the template Recursion and apply to any problem

Показать описание
Hi Everyone, this is the 2nd video of our Playlist "Recursion".
Video Summary :
We use a recursive method to perform a depth-first search, recursively traversing and exploring all possible subsets that can be extracted from the original array.
Problem Name : Subsets
✨ Timelines✨
00:00 - Understand problem requirements
1:34 - Example dry run to understand the final solution space
4:35 - Introduce the standard take and not take approach
6:10 - Build the Recursive Tree Structure
8:50 - Coding it up
Video Summary :
We use a recursive method to perform a depth-first search, recursively traversing and exploring all possible subsets that can be extracted from the original array.
Problem Name : Subsets
✨ Timelines✨
00:00 - Understand problem requirements
1:34 - Example dry run to understand the final solution space
4:35 - Introduce the standard take and not take approach
6:10 - Build the Recursive Tree Structure
8:50 - Coding it up