The initial technical 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.
Sigiloso
I used the ruby language(handshake is a Rails/React shop) to build a vending machine class that tracked inventory and distributed items. The crux was to create a method that would be efficient at determining the change from the dollar amount given. My algorithm was sufficiently efficient.