Kabbage interview question

R functions