Pergunta de entrevista da empresa MathWorks

Math questions onsite very a bit difficult.