Logarithmic complexity program for locating element in sorted array
Polynomial complexity program for sorting an array