Infogain interview question

sorting algorithms data structures oops