Pergunta de entrevista da empresa Ripple

LeetCode Easy. Straight forward coding Q's