Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 449. Serialize and Deserialize BST
Design algorithms to serialize a binary search tree into a compact string and deserialize it back to the exact original tree. Leverage the BST ordering property (so you can encode compactly, e.g., without null markers) to produce an unambiguous, space-efficient representation.
Asked at:
Microsoft
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Mid March, 2025
Microsoft
Mid-level
Leetcode Question: Serialize and Deserialize a binary Tree
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.