IBEX Global interview question

It was not difficult