Problems
Previous question · 617
Moving Stones Until Consecutive II
hard
Algorithms
Next question · 619
Review Totals by Category
medium
Database
Random coding question
Python
Language
Python
Description
Solution
Discussion
618. Delete Nodes And Return Forest
medium
Meta
entry
Roles
Software Engineer
ML Engineer
Data Engineer
Research Scientist
Companies
Meta
Google
Microsoft
Levels
entry
Tags
Array
Hash Table
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
31 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
>>>