Recursion DSA Problems

47 recursion problems for coding interviews and campus placements, with hints and company tags. Below are all 47: 11 easy, 22 medium and 14 hard. Practise them free on InternHack and track what you have solved.

Recursion problems, easiest first

  1. Fibonacci Number (Easy)
  2. Find the K-th Character in String Game I (Easy)
  3. Finding 3-Digit Even Numbers (Easy)
  4. Merge Two Sorted Lists (Easy)
  5. Palindrome Linked List (Easy)
  6. Power of Four (Easy)
  7. Power of Three (Easy)
  8. Power of Two (Easy)
  9. Remove Linked List Elements (Easy)
  10. Reverse Linked List (Easy)
  11. Unique 3-Digit Even Numbers (Easy)
  12. Add Two Numbers (Medium)
  13. All Possible Full Binary Trees (Medium)
  14. Count Collisions of Monkeys on a Polygon (Medium)
  15. Count Good Numbers (Medium)
  16. Decode String (Medium)
  17. Different Ways to Add Parentheses (Medium)
  18. Elimination Game (Medium)
  19. Find Kth Bit in Nth Binary String (Medium)
  20. Find the Winner of the Circular Game (Medium)
  21. K-th Symbol in Grammar (Medium)
  22. Minimum Non-Zero Product of the Array Elements (Medium)
  23. Output Contest Matches (Medium)
  24. Partition Array into Two Equal Product Subsets (Medium)
  25. Pow(x, n) (Medium)
  26. Predict the Winner (Medium)
  27. Remove Nodes From Linked List (Medium)
  28. Reorder List (Medium)
  29. Split BST (Medium)
  30. Strobogrammatic Number II (Medium)
  31. Swap Nodes in Pairs (Medium)
  32. Ternary Expression Parser (Medium)
  33. Verify Preorder Sequence in Binary Search Tree (Medium)
  34. Basic Calculator (Hard)
  35. Basic Calculator III (Hard)
  36. Basic Calculator IV (Hard)
  37. Find the K-th Character in String Game II (Hard)
  38. Integer to English Words (Hard)
  39. Maximize Number of Nice Divisors (Hard)
  40. Minimum One Bit Operations to Make Integers Zero (Hard)
  41. Number of Digit One (Hard)
  42. Parse Lisp Expression (Hard)
  43. Parsing A Boolean Expression (Hard)
  44. Permutation Sequence (Hard)
  45. Regular Expression Matching (Hard)
  46. Reverse Nodes in k-Group (Hard)
  47. Wildcard Matching (Hard)

Companies that ask recursion problems

Before your interview

Most resumes are filtered by software before a recruiter reads them. Check your resume ATS score free, no signup needed.

Other DSA topics