
LeetCode
longlong2015
这个作者很懒,什么都没留下…
展开
-
<LeetCode(Java版)>Two Sum
*欢迎来到Leet*Code的世界,本人程序员一枚,灰常菜的那种,目前处于找工作时期,正在刷LeetCode上的题目,希望通过自己写博客能记下自己的思路与成长,也希望能帮助到有需要的朋友。由于本人非大神,如果有什么问题,还希望能多多指正,谢谢啦!如果有和我也在忙着找工作的小伙伴呢,希望咱们可以多多交流呀,一起加油吧!闲话不多说,咱们进入LeetCode的题目吧!题目:Given an arra原创 2015-08-30 11:04:41 · 331 阅读 · 0 评论 -
<LeetCode(Java版)>Add Two Numbers
题目:You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a li原创 2015-08-31 23:40:11 · 390 阅读 · 0 评论 -
<LeetCode(Java版)>Reorder List
题目:Given a singly linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' values.For example,Given {1,2,3,4}, reorder it to {1,4,2,3原创 2015-09-02 00:06:06 · 353 阅读 · 0 评论 -
<LeetCode(Java版)>String to Integer
题目:Implement atoi to convert a string to an integer.Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input case原创 2015-09-09 21:36:39 · 442 阅读 · 0 评论