its giving -1 but i think it should give the maximum element of the array.
is pivot meaningless for a sorted array???
its giving -1 but i think it should give the maximum element of the array.
is pivot meaningless for a sorted array???