Thomson Reuters Interview Question

data structure and algorithm related