Thomson Reuters interview question

pretty standard interview questions