Dassault Systèmes interview question

Data structure related question