Media.net interview question

How would you reduce a time complexity for a simple problem?