Bloomberg interview question

they asked me sorting questions like binary search tree and hash maps