Pregunta de entrevista de A Thinking Ape

Implement 3 data structure based functions for a cash register.