Pergunta de entrevista da empresa MathWorks

In the coding test, they asked me to implement the Reduction with Cuda. Besides, there was a simple C++ class question.