LeetCode Experience · Apr 2019 · USA

Facebook | Phone screen | Serialize and deserialize binary tree

SWE Phone Screen New Grad Easy
3 upvotes 1,020 views 2 replies

Interview Experience

Status: New Grad Given the root to a binary tree, serialize to a List<Integer and deserialize back to the original tree. Easy question that can run in O(N) time/space. I mentioned using...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Binary Tree Queue Recursion Stack