SoundHound interview question

Trees, Linked List