Pergunta de entrevista da empresa Handshake

The first technical remote screen was an OOP vending machine problem. Code a vending machine that needs to track inventory and return correct change in denominations of 5, 10 and 25 cents.