find peak is weired . O(logn)