Рет қаралды 262,275
This is part 1 of the subset + string #recursion series. Here we cover some important tips to solve string recursion problems, along with subset patterns and how to convert recursive programs to iterative.
Take part in the learning in public initiative! Share your learnings on LinkedIn and Twitter with #DSAwithKunal & don't forget to tag us!
👉 Resources
- Join Replit: join.replit.com/kunal-kushwaha
- Complete Java DSA playlist: • Java + DSA + Interview...
- Code, Assignments, & Notes: github.com/kunal-kushwaha/DSA...
➡️ Connect with me: kunalkushwaha.com
=========================================
Timestamps:
0:00:00 Introduction
0:01:40 Basic String Questions using Recursion
0:02:19 Q1 : Skip a character
0:17:30 Q2 : Skip a string
0:21:32 Q3 : Skip a string if it's not the required string
0:24:34 Subsets Introduction
0:31:35 When to apply subset problem?
0:32:35 Q4 : Subsequences
0:43:11 Q5 : Return an ArrayList of string
0:52:10 Q6 : Print ASCII value of a character
0:54:15 Q7 : Subsequences with ASCII values
0:58:21 Q8 : Iterative program to print subsequences
1:09:48 Complexity Analysis
1:12:15 Q9 : Subsequences of a string with duplicate elements
1:22:07 Outro
#placement #dsa #interviews