摘要:
DFS+BACKTRACK 没弄些乱七八糟的符号什么的在test case算是脱离低级趣味了。 这个题就是正常的划分string,连二段brach都不是。 我只进行了最基础的剪枝,有很多剪枝条件,比如剩余string map1 = new HashMap(); Map map2 = new Hash 阅读全文
posted @ 2016-11-12 08:15
哇呀呀..生气啦~
阅读(241)
评论(0)
推荐(0)
摘要:
Rotate an array of n elements to the right by k steps. For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7,1,2,3,4]. Not 阅读全文
posted @ 2016-11-12 07:05
哇呀呀..生气啦~
阅读(193)
评论(0)
推荐(0)

浙公网安备 33010602011771号