TikTok interview question

Strings converted into binary trees.