MathWorks Interview Question: template in C++ | Glassdoor