Serialize and Deserialize BST

Can you solve this problem? 🤔