BigStep interview question

Question is base on Sorting and Array .