Adrosonic interview question

indexed binary tree and threaded tree