Problems
Previous question · 425
Avg Days to First Ride
hard
Database
Next question · 427
Flagging Metrics Summary
hard
Database
Random coding question
Python
Language
Python
Description
Solution
Discussion
426. Max Difference Between Node and Ancestor
medium
Amazon
entry
Roles
Software Engineer
ML Engineer
Data Engineer
Research Scientist
Companies
Amazon
Google
Meta
Levels
entry
Tags
Tree
Depth-First Search
Binary Tree
Similar Questions
Populating Next Right Pointers in Each Node II
medium
Data Structures
Maximum Frequency Stack
hard
Data Structures
Minimum Height Trees
medium
Data Structures
46 people
are solving this problem
Run
Submit
Loading editor for the selected language
Ln 1, Col 1
Program Output
DATA
INTERVIEW
Interactive coding terminal
Python environment ready.
Type a command below or run code from the editor.
run script
Execute the current editor contents
submit
Grade the current editor contents against all solution test cases
python ("print hello world")
Run an isolated Python command
help
Show all available commands
>>>