**import java.util.*;
public class Solution {
public int search (int[] nums, int target) {
return search1(nums,0,nums.length-1,target);
}public static int search1(int[] nums,int left,int right ,int target){ if(left>right){ return -1; } int mid=(left+right)/2; int midval=nums[mid]; if(midval
}**