Search Insert Position时间:2023-03-09 15:43:03 int searchInsert(int* nums, int numsSize, int target) { int low=; if(numsSize<=)return ; int high=numsSize-; int mid; while(low<=high){ mid=(low+high)/; if(nums[mid]>=target)high=mid-; else low=mid+; } return low; }