ENGIE interview question

Developement questions: duplicate in a list, binary tree , etc...