摘要: 53-1 数字在有序数组中出现的次数 统计一个数字在排序数组中出现的次数。 // 二分查找到中间target的位置,然后往左右延伸 class Solution { public int search(int[] nums, int target) { if(nums == null || nums 阅读全文
posted @ 2021-06-21 11:06 BOTAK 阅读(64) 评论(0) 推荐(0)