摘要:
暴力搜索: public class Solution { public int search(int idx, int[] nums){ if(idx<0){ return 0; } return Math.max(nums[idx] + search(idx-2, nums), search(i 阅读全文
posted @ 2016-09-24 16:23
LiaLialu
阅读(114)
评论(0)
推荐(0)
浙公网安备 33010602011771号