Revinate Interview Question

serialize and desearlize a binary tree