[LC] Added solution to recover binary tree.