>RunTimeFix
BookStudyPracticeInterviewsYouTubeCoursesAbout
Log inGet Started
Practice/Recursion & Backtracking
4 subtopics · 11 problems

Recursion & Backtracking

Generate solutions by exploring all possibilities, prune when invalid.

01Basic Recursion

Solve problems by breaking them into smaller subproblems recursively.

1 easy2 medium
ProblemDifficultyLink
1843CSum in Binary TreeeasySolve
1829DGold RushmediumSolve
431Ck-TreemediumSolve

02Generate Permutations & Subsets

Enumerate all permutations or subsets of a collection.

1 easy1 medium1 hard
ProblemDifficultyLink
1873BGood KideasySolve
1515CPhoenix and TowersmediumSolve
1360GA/BhardSolve

03Backtracking with Pruning

Prune the search tree early to avoid exponential blowup.

2 medium1 hard
ProblemDifficultyLink
1294CProduct of Three NumbersmediumSolve
1862DIce Cream BallsmediumSolve
1904DSet To MaxhardSolve

04Meet in the Middle

Split input in half, enumerate both halves, merge results.

2 hard
ProblemDifficultyLink
888EMaximum SubsequencehardSolve
1006FXor PathshardSolve
All TopicsStudy the Theory
Was this helpful?
>RunTimeFix

Practical programming education. Books, videos, courses, and hands-on learning for competitive programming, DSA, and software engineering.

RunTimeFix

  • About
  • YouTube
  • Book
  • Study Library
  • Courses

Learn

  • Competitive Programming
  • DSA
  • Development
  • Databases

Legal

  • Privacy
  • Terms
  • Refund Policy

RunTimeFix — debug → solve → run

© 2026 RunTimeFix. All rights reserved.