Pergunta de entrevista da empresa Gridspace

one coding question and one math problem (like a word problem)