Question d’entretien chez Xome

Common ancestors in a binary tree, find duplicates in array