Bloomberg interview question

Questions on stocks, BSTs, OOP.