Binance interview question

Tree questions, binary search question