GE Interview Question

What are your goals in this function?