Pregunta de entrevista de Rippling

Grid-like problem, currency conversion problem (recursion)