Intuit interview question

Code analysis