Top 50 Recursion Interview Questions
The most frequently asked Recursion questions across all roles and companies, ranked by real interview frequency. Updated daily.
Reverse a singly linked list in-place using iterative pointer manipulation.
A S S E M B L E D
Crescent Electric Supply
CenterWellImplement binary search to find a target value in a sorted array in O(log n) time.
HHAeXchange
EDF Renewables
SRS ConsultingMerge two sorted singly linked lists into one sorted list by relinking existing nodes.
NeoDocto
Otter
SimplUse a two-pointer string scan to determine whether a string reads the same forward and backward.
Dsv Air & Sea
Lucid Motors
AfterqueryUse postorder recursion to determine whether a binary tree is height-balanced in O(n) time.
Meta
Etsy
LendingTreeUse two pointers to determine whether a City National Bank reference label reads identically forward and backward.
Taboola
SharpSpring
HalliburtonReverse a singly linked list iteratively and recursively.
1X Technologies AS
ERM
Inland Family of CompaniesReturn the zero-based indices of source lines exceeding a maximum length using a clear single-pass scan.
Corning
University of South Carolina
Australian Competition And Consumer CommissionSign up to see every question
Create a free account to unlock this list and practice real interview questions.