
ATM
What is the Greedy Algorithm?
In payment systems, the Greedy Algorithm is used to give the customer the minimum number of banknotes when withdrawing cash from an ATM. The algorithm used varies from bank to bank, since ATM cash capacity and transaction volume differ. For example...
