Fast Enterprises interview question

Optimize the code you constructed