Question d’entretien chez Amazon

Convert a binary tree into a doubly linked list