Pergunta de entrevista da empresa Walmart

Nothing difficult. Just basic algorithms.