Credit Karma interview question

If given aab make it aba