FIS Interview Question

then they give me array to sort. program