# Recursion DSA Problems

> 47 Recursion coding problems for placements and interviews, sorted easiest first, with hints and company tags. Free practice on InternHack.

Canonical: https://www.internhack.in/learn/dsa/recursion
Last updated: 2026-11-28

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](https://www.internhack.in/learn/dsa/problem/fibonacci-number) (Easy)
2. [Find the K-th Character in String Game I](https://www.internhack.in/learn/dsa/problem/find-the-k-th-character-in-string-game-i) (Easy)
3. [Finding 3-Digit Even Numbers](https://www.internhack.in/learn/dsa/problem/finding-3-digit-even-numbers) (Easy)
4. [Merge Two Sorted Lists](https://www.internhack.in/learn/dsa/problem/merge-two-sorted-lists) (Easy)
5. [Palindrome Linked List](https://www.internhack.in/learn/dsa/problem/palindrome-linked-list) (Easy)
6. [Power of Four](https://www.internhack.in/learn/dsa/problem/power-of-four) (Easy)
7. [Power of Three](https://www.internhack.in/learn/dsa/problem/power-of-three) (Easy)
8. [Power of Two](https://www.internhack.in/learn/dsa/problem/power-of-two) (Easy)
9. [Remove Linked List Elements](https://www.internhack.in/learn/dsa/problem/remove-linked-list-elements) (Easy)
10. [Reverse Linked List](https://www.internhack.in/learn/dsa/problem/reverse-linked-list) (Easy)
11. [Unique 3-Digit Even Numbers](https://www.internhack.in/learn/dsa/problem/unique-3-digit-even-numbers) (Easy)
12. [Add Two Numbers](https://www.internhack.in/learn/dsa/problem/add-two-numbers) (Medium)
13. [All Possible Full Binary Trees](https://www.internhack.in/learn/dsa/problem/all-possible-full-binary-trees) (Medium)
14. [Count Collisions of Monkeys on a Polygon](https://www.internhack.in/learn/dsa/problem/count-collisions-of-monkeys-on-a-polygon) (Medium)
15. [Count Good Numbers](https://www.internhack.in/learn/dsa/problem/count-good-numbers) (Medium)
16. [Decode String](https://www.internhack.in/learn/dsa/problem/decode-string) (Medium)
17. [Different Ways to Add Parentheses](https://www.internhack.in/learn/dsa/problem/different-ways-to-add-parentheses) (Medium)
18. [Elimination Game](https://www.internhack.in/learn/dsa/problem/elimination-game) (Medium)
19. [Find Kth Bit in Nth Binary String](https://www.internhack.in/learn/dsa/problem/find-kth-bit-in-nth-binary-string) (Medium)
20. [Find the Winner of the Circular Game](https://www.internhack.in/learn/dsa/problem/find-the-winner-of-the-circular-game) (Medium)
21. [K-th Symbol in Grammar](https://www.internhack.in/learn/dsa/problem/k-th-symbol-in-grammar) (Medium)
22. [Minimum Non-Zero Product of the Array Elements](https://www.internhack.in/learn/dsa/problem/minimum-non-zero-product-of-the-array-elements) (Medium)
23. [Output Contest Matches](https://www.internhack.in/learn/dsa/problem/output-contest-matches) (Medium)
24. [Partition Array into Two Equal Product Subsets](https://www.internhack.in/learn/dsa/problem/partition-array-into-two-equal-product-subsets) (Medium)
25. [Pow(x, n)](https://www.internhack.in/learn/dsa/problem/powx-n) (Medium)
26. [Predict the Winner](https://www.internhack.in/learn/dsa/problem/predict-the-winner) (Medium)
27. [Remove Nodes From Linked List](https://www.internhack.in/learn/dsa/problem/remove-nodes-from-linked-list) (Medium)
28. [Reorder List](https://www.internhack.in/learn/dsa/problem/reorder-list) (Medium)
29. [Split BST](https://www.internhack.in/learn/dsa/problem/split-bst) (Medium)
30. [Strobogrammatic Number II](https://www.internhack.in/learn/dsa/problem/strobogrammatic-number-ii) (Medium)
31. [Swap Nodes in Pairs](https://www.internhack.in/learn/dsa/problem/swap-nodes-in-pairs) (Medium)
32. [Ternary Expression Parser](https://www.internhack.in/learn/dsa/problem/ternary-expression-parser) (Medium)
33. [Verify Preorder Sequence in Binary Search Tree](https://www.internhack.in/learn/dsa/problem/verify-preorder-sequence-in-binary-search-tree) (Medium)
34. [Basic Calculator](https://www.internhack.in/learn/dsa/problem/basic-calculator) (Hard)
35. [Basic Calculator III](https://www.internhack.in/learn/dsa/problem/basic-calculator-iii) (Hard)
36. [Basic Calculator IV](https://www.internhack.in/learn/dsa/problem/basic-calculator-iv) (Hard)
37. [Find the K-th Character in String Game II](https://www.internhack.in/learn/dsa/problem/find-the-k-th-character-in-string-game-ii) (Hard)
38. [Integer to English Words](https://www.internhack.in/learn/dsa/problem/integer-to-english-words) (Hard)
39. [Maximize Number of Nice Divisors](https://www.internhack.in/learn/dsa/problem/maximize-number-of-nice-divisors) (Hard)
40. [Minimum One Bit Operations to Make Integers Zero](https://www.internhack.in/learn/dsa/problem/minimum-one-bit-operations-to-make-integers-zero) (Hard)
41. [Number of Digit One](https://www.internhack.in/learn/dsa/problem/number-of-digit-one) (Hard)
42. [Parse Lisp Expression](https://www.internhack.in/learn/dsa/problem/parse-lisp-expression) (Hard)
43. [Parsing A Boolean Expression](https://www.internhack.in/learn/dsa/problem/parsing-a-boolean-expression) (Hard)
44. [Permutation Sequence](https://www.internhack.in/learn/dsa/problem/permutation-sequence) (Hard)
45. [Regular Expression Matching](https://www.internhack.in/learn/dsa/problem/regular-expression-matching) (Hard)
46. [Reverse Nodes in k-Group](https://www.internhack.in/learn/dsa/problem/reverse-nodes-in-k-group) (Hard)
47. [Wildcard Matching](https://www.internhack.in/learn/dsa/problem/wildcard-matching) (Hard)

## Companies that ask recursion problems

- [Amazon](https://www.internhack.in/learn/dsa/companies/amazon): 40 of these problems
- [Google](https://www.internhack.in/learn/dsa/companies/google): 40 of these problems
- [Microsoft](https://www.internhack.in/learn/dsa/companies/microsoft): 35 of these problems
- [Bloomberg](https://www.internhack.in/learn/dsa/companies/bloomberg): 34 of these problems
- [Meta](https://www.internhack.in/learn/dsa/companies/meta): 32 of these problems
- [Oracle](https://www.internhack.in/learn/dsa/companies/oracle): 16 of these problems
- [Apple](https://www.internhack.in/learn/dsa/companies/apple): 15 of these problems
- [Goldman Sachs](https://www.internhack.in/learn/dsa/companies/goldman-sachs): 14 of these problems
- [Tiktok](https://www.internhack.in/learn/dsa/companies/tiktok): 13 of these problems
- [Infosys](https://www.internhack.in/learn/dsa/companies/infosys): 11 of these problems
- [Nvidia](https://www.internhack.in/learn/dsa/companies/nvidia): 11 of these problems
- [TCS](https://www.internhack.in/learn/dsa/companies/tcs): 9 of these problems

## Before your interview

Most resumes are filtered by software before a recruiter reads them. [Check your resume ATS score free](https://www.internhack.in/ats-score/try), no signup needed.

## Other DSA topics

- [Array](https://www.internhack.in/learn/dsa/array) (1869)
- [String](https://www.internhack.in/learn/dsa/string) (775)
- [Hash Table](https://www.internhack.in/learn/dsa/hash-table) (708)
- [Math](https://www.internhack.in/learn/dsa/math) (564)
- [Dynamic Programming](https://www.internhack.in/learn/dsa/dynamic-programming) (557)
- [Sorting](https://www.internhack.in/learn/dsa/sorting) (464)
- [Greedy](https://www.internhack.in/learn/dsa/greedy) (407)
- [Depth-First Search](https://www.internhack.in/learn/dsa/depth-first-search) (314)
- [Binary Search](https://www.internhack.in/learn/dsa/binary-search) (298)
- [Matrix](https://www.internhack.in/learn/dsa/matrix) (246)
- [Breadth-First Search](https://www.internhack.in/learn/dsa/breadth-first-search) (245)
- [Bit Manipulation](https://www.internhack.in/learn/dsa/bit-manipulation) (238)
- [Tree](https://www.internhack.in/learn/dsa/tree) (235)
- [Two Pointers](https://www.internhack.in/learn/dsa/two-pointers) (217)
- [Prefix Sum](https://www.internhack.in/learn/dsa/prefix-sum) (204)
- [Database](https://www.internhack.in/learn/dsa/database) (197)
- [Heap (Priority Queue)](https://www.internhack.in/learn/dsa/heap-priority-queue) (196)
- [Simulation](https://www.internhack.in/learn/dsa/simulation) (177)
- [Counting](https://www.internhack.in/learn/dsa/counting) (174)
- [Binary Tree](https://www.internhack.in/learn/dsa/binary-tree) (169)

## Related

- [Home](https://www.internhack.in/)
- [Learn](https://www.internhack.in/learn)
- [DSA](https://www.internhack.in/learn/dsa)
