Depth-First Search Interview Questions
223 real interview questions test Depth-First Search. Practice any of them in the code editor and get AI feedback on your solution.
- Junior14% (32)
- Mid/Senior57% (128)
- Staff28% (63)
Companies that ask Depth-First Search the most
Questionspage 3 of 3
- Maximum Genetic Difference Query1 companyStaff
- Evaluate Boolean Binary Tree1 companyJunior
- Create Components With Same Value1 companyStaff
- Closest Nodes Queries in a Binary Search Tree1 companyMid/Senior
- Disconnect Path in a Binary Matrix by at Most One Flip1 companyMid/Senior
- Minimum Edge Weight Equilibrium Queries in a Tree1 companyStaff
- Count Valid Paths in a Tree1 companyStaff
- Count Visited Nodes in a Directed Graph1 companyStaff
- Maximum Points After Collecting Coins From All Nodes1 companyStaff
- Maximum Score After Applying Operations on a Tree1 companyMid/Senior
- Find Number of Coins to Place in Tree Nodes1 companyStaff
- Remove Methods From Project1 companyMid/Senior
- K-th Largest Perfect Subtree Size in Binary Tree1 companyMid/Senior
- Check if DFS Strings Are Palindromes1 companyStaff
- Maximize Sum of Weights after Edge Removals1 companyStaff
- Longest Special Path II1 companyStaff
- Properties Graph1 companyMid/Senior
- Shortest Path in a Weighted Tree1 companyStaff
- Unit Conversion I1 companyMid/Senior
- Maximum Good Subtree Score1 companyStaff
- Find Weighted Median Node in Tree1 companyStaff
- Maximum Subgraph Score in a Tree1 companyStaff
- Total Sum of Interaction Cost in Tree Groups1 companyStaff