Dassault Systèmes Interview Question

Data structure related question