Grab interview question

What were your thought process