Back to Problems
recursion Interview Questions
34 machine-learning interview questions on recursion.
Practice on the problems board →Print All Root-to-Leaf Binary Tree Paths
Coding & Leetcode-style QuestionsJSON Path Query with Wildcards / Inverted Index
Coding & Leetcode-style QuestionsFlatten a Multilevel Doubly Linked List
Coding & Leetcode-style QuestionsFile System Encryption Count and Minimum-Cost Encryption
Coding & Leetcode-style QuestionsLowest Common Ancestor (BST / Binary Tree / N-ary)
Coding & Leetcode-style QuestionsString-Command Stream Calculator
Coding & Leetcode-style QuestionsPow(x, n) — Fast Exponentiation
Coding & Leetcode-style QuestionsTree Diameter / Longest Path
Coding & Leetcode-style QuestionsTennis Rounds: Print Round Winners
Coding & Leetcode-style QuestionsGoldman Sachs HireVue Behavioral and Recursion
BehavioralPath Between Nodes in a Fibonacci Tree
Coding & Leetcode-style QuestionsMenu Tree Diff — Count Changed Nodes
Coding & Leetcode-style QuestionsBinary Tree Longest Consecutive Sequence II
Coding & Leetcode-style QuestionsOrg-Chart Salary Aggregation
Coding & Leetcode-style QuestionsImplement deleteDirectory in a Virtual File System
Coding & Leetcode-style QuestionsGet Nested Object Value by Path String
Coding & Leetcode-style QuestionsRecursive JSON Schema Validator
Coding & Leetcode-style QuestionsDecode String
Coding & Leetcode-style QuestionsPermutations
Coding & Leetcode-style QuestionsEvaluate a Nested Math Expression
Coding & Leetcode-style QuestionsCompute Total Size of a File System
Coding & Leetcode-style QuestionsExpression Add Operators to Reach Target
Coding & Leetcode-style QuestionsDepth-First Search on a Colored Graph
Coding & Leetcode-style QuestionsCheck Whether a Mahjong Hand Is Winning
Coding & Leetcode-style QuestionsN-Queens
Coding & Leetcode-style QuestionsWord Search in a 2-D Grid
Coding & Leetcode-style QuestionsMerge Two Sorted Linked Lists
Coding & Leetcode-style QuestionsTwo Encoded Strings Describe the Same Original
Coding & Leetcode-style QuestionsPre-order Traversal Skipping Invalid Nodes
Coding & Leetcode-style QuestionsCompare Two Structs / Classes for Equality
Coding & Leetcode-style QuestionsLetter Combinations of a Phone Number
Coding & Leetcode-style QuestionsRewrite Second Tree With Subtree Sums
Coding & Leetcode-style QuestionsNested Add/Sub Expression Evaluator
Coding & Leetcode-style QuestionsConstruct Quad Tree
Coding & Leetcode-style Questions