Thomson Reuters interview question

Determining the complexities of the program