Thomson Reuters interview question

C++, Python