34. Search for a Range

public class Solution { public int [] searchRange( int [] nums, int target) {     int [] result = new int [ 2 ];     result[ 0 ] = findFirst(nums, target);     result[ 1 ] = findLast(nums, target);   
相關文章
相關標籤/搜索