Thomson Reuters Interview Question

The basic question