Domanda di colloquio di Fidelity Investments

They asked me to debug code and write a function in C++