Recursion and Backtracking Series (take U forward)
- Course audio
- Course audio: English
- Level
- Intermediate
- Length
- 22 lessons · 9.7 hours
What you'll be able to do
- Write recursive solutions with parameters and return values
- Generate subsequences, subsets and permutations
- Solve N-Queens, Sudoku and rat in a maze by backtracking
- Implement merge sort and quick sort recursively
About this course
Twenty-two English videos and about 9.7 hours take learners from the idea of recursion to classic backtracking problems. The first five lessons introduce recursion, parameterised and functional forms and multiple recursive calls. Next come recursion on subsequences, pattern problems, merge sort and quick sort. The backtracking section covers combination sum I and II, subset sum I and II, permutations of a string or array, N-Queens, Sudoku solver, M-colouring, palindrome partitioning, K-th permutation sequence and rat in a maze. A final video on counting inversions applies merge sort. The playlist suits students who already know functions and loops in one language and want placement-style practice.
Before you start: Functions and loops in C++, Java or Python
Syllabus
22 lessons · 9:41:53 in total
- 1Re 1. Introduction to Recursion | Recursion Tree | Stack Space | Strivers A2Z DSA Course22:46
- 2Re 2. Problems on Recursion | Strivers A2Z DSA Course22:04
- 3Re 3. Parameterised and Functional Recursion | Strivers A2Z DSA Course18:14
- 4Re 4. Problems on Functional Recursion | Strivers A2Z DSA Course19:48
- 5Re 5. Multiple Recursion Calls | Problems | Strivers A2Z DSA Course16:45
- 6L6. Recursion on Subsequences | Printing Subsequences25:01
- 7L7. All Kind of Patterns in Recursion | Print All | Print one | Count34:12
- 8Merge Sort | Algorithm | Pseudocode | Dry Run | Code | Strivers A2Z DSA Course49:43
- 9Quick Sort For Beginners | Strivers A2Z DSA Course35:17
- 10L8. Combination Sum | Recursion | Leetcode | C++ | Java27:00
- 11L9. Combination Sum II | Leetcode | Recursion | Java | C++32:37
- 12L10. Subset Sum I | Recursion | C++ | Java24:25
- 13L11. Subset Sum II | Leetcode | Recursion30:16
- 14L12. Print all Permutations of a String/Array | Recursion | Approach - 119:07
- 15L13. Print all Permutations of a String/Array | Recursion | Approach - 218:14
- 16L14. N-Queens | Leetcode Hard | Backtracking36:55
- 17L15. Sudoko Solver | Backtracking26:10
- 18L16. M-Coloring Problem | Backtracking24:37
- 19L17. Palindrome Partitioning | Leetcode | Recursion | C++ | Java24:34
- 20L19. Rat in A Maze | Backtracking25:10
- 21L18. K-th Permutation Sequence | Leetcode24:41
- 22Count Inversions in an Array | Brute and Optimal24:17
Questions
- How long is this course?
- It has 22 lessons and about 9.7 hours of video (9:41:53 in total). Your progress is saved lesson by lesson, so you can stop and continue on any device you sign in on, or in the same browser without signing in.
- Is this course in English?
- The lessons are taught in English. The teacher is take U forward; the videos play from their official YouTube channel, and Sabaq adds the lesson order, progress tracking, notes and the summary on this page.
- Who is this course for, and what should I know first?
- It is aimed at learners who already know the basics. Before you start: Functions and loops in C++, Java or Python.
- Is it free, and do I need an account?
- Yes, it is free to watch and no account is needed. The videos are official uploads by the teacher on YouTube; a free DanixSoft account is optional and only syncs your progress between devices.
- What should I take after this course?
- A good next step on Sabaq is “Algorithms (Abdul Bari)”. The “What to take next” list on this page shows more courses at the same or a higher level in the same topic.
What to take next
Related courses
Videos by take U forward, played from their official YouTube channel. Subscribe on YouTube
Official upload by the teacher or institution on their own channel, shown with YouTube's embedded player.
Lessons listed from the official YouTube playlist. Full playlist on YouTube
Lessons last checked Nov 2026. Course summary and lesson structure by Sabaq.
Report a problem or a rights request

