search in sorted array II