Pergunta de entrevista da empresa Techmonastic Solutions

Two coding questions they provided