A Thinking Ape Interview Question

Implement 3 data structure based functions for a cash register.