Cadence Design Systems interview question

Design a data structure class and its operations as functions