Question d’entretien chez Oracle

code for converting binary search tree into doubly linked list.