
LeetCode
ztt0tian
这个作者很懒,什么都没留下…
展开
-
ZigZag Conversion
ideaif we could know the index of each character which is in the original string,the problem will be solved easily.Now we need to find the regulationin the conversion process by some example.examp原创 2017-09-02 20:53:27 · 242 阅读 · 0 评论 -
LeetCodeP15 3Sum
给定一个整型数组,从中选出三个数a,b,c满足a+b+c=0,求出所有且不重复的组合,组合内三个三个数不区分顺序。我自己裸写了一个方法,能求出来,但是因为比较繁琐,提交到LeetCode上超时了。代码清单如下: import java.util.*;/** * @author zhaotian * @date 2018/6/13 16:36 *//** * 给定一个包...原创 2018-06-15 13:58:13 · 462 阅读 · 0 评论