Rippling Interview Question

Grid-like problem, currency conversion problem (recursion)