Cielo interview question

Working with a data structure table