Pergunta de entrevista da empresa MathWorks

OOP, runtime analysis for certain sorting question