Intuit interview question

Very straight forward.