Frontier Interview
Companies
Questions
Pricing
Sign in
Questions
/
Tag
#dfs
Build, validate and prune a computation graph
Coding
Medium
Nvidia
▲ 0
0 solutions
Mini spreadsheet with formulas and cycle detection
Coding
Hard
Harvey
OpenAI
Character.AI
Amazon
▲ 0
1 solution
Word search with a word search II follow-up
Coding
Hard
Glean
Amazon
Snowflake
Uber
▲ 0
1 solution
Shipping route cost paths
Coding
Medium
Stripe
▲ 0
1 solution
Palindromic paths from a node to the root
Coding
Hard
Uber
▲ 0
1 solution
Peel an N-ary tree one leaf layer per day
Coding
Medium
Google
▲ 0
1 solution
Minimum starting vertices to reach a cyclic directed graph
Coding
Hard
Airbnb
▲ 0
1 solution
Minimum root-to-leaf path sum
Coding
Medium
Meta
Tesla
▲ 0
1 solution
Merge two n-ary trees by child position
Coding
Medium
Microsoft
▲ 0
1 solution
Maximum path sum between two leaves of a binary tree
Coding
Easy
Google
▲ 0
1 solution
Limit tree height by deleting nodes
Coding
Medium
Snowflake
▲ 0
1 solution
Root of the largest tree in a forest
Coding
Medium
Google
Microsoft
▲ 0
1 solution
Root-started value path in an N-ary tree
Coding
Medium
Amazon
▲ 0
1 solution
Lowest common manager in an org chart
Coding
Medium
Amazon
▲ 0
1 solution
Inherited permissions across teams, folders and files
Coding
Medium
Figma
▲ 0
1 solution
Unix find command with pluggable filters
Coding
Hard
Google
Amazon
▲ 0
1 solution
Compress an n-ary tree by promoting children
Coding
Medium
Amazon
Microsoft
Meta
▲ 0
1 solution
Minimum distance between two nodes in an N-ary tree
Coding
Medium
Scale AI
Google
▲ 0
1 solution
Minimum-cost encryption of a directory tree
Coding
Medium
Databricks
▲ 0
1 solution
Esc
Question types
Dfs interview questions · Frontier Interview