Capital One interview question

Intro? Where did you write your code?