Wipro interview question

Searching shorting algorithms for array