LeetCode Experience

#1110 Delete Nodes And Return Forest

Interview Experience

LeetCode #1110: Delete Nodes And Return Forest. Difficulty: Medium. Topics: Array, Hash Table, Tree, Depth-First Search, Binary Tree. Asked at Pinterest in the last 6 months.

Original Source

This is a frequency-tagged signal. The full problem statement lives on the original source.

View original →

About This Question

This is a candidate experience report from a pinterest interview for a swe role during the coding round.

It covers the following topics: Binary Tree, Depth-First Search, Tree, Arrays, Binary Tree, Graph, Hash Table .

Difficulty rating: Medium