Pergunta de entrevista da empresa Visa Inc.

Asked to use pseudo code for a few functions on a white board.