Question d’entretien chez Paytm

Tree and linked list coding question