Pergunta de entrevista da empresa Wells Fargo

One recursion/dp based question and design valorant.