Uber interview question

Computer a^b