摘要:
Follow up for "Search in Rotated Sorted Array":What ifduplicatesare allowed?Would this affect the run-time complexity? How and why?Write a function to determine if a given target is in the array.---public class Solution { public boolean search(int[] A, int target) { return helper(A... 阅读全文
posted @ 2013-09-16 10:20
LEDYC
阅读(154)
评论(0)
推荐(0)
浙公网安备 33010602011771号