Kabbage interview question

Solve a simple code problem