Hotels.com interview question

Write an algorithm to determine change for the customer

Interview Answer

Anonymous

21 Jun 2017

It's a known algorithm, you can go greedy or use DP, pseudocode was fine