LeetCode
cd233
这个作者很懒,什么都没留下…
展开
-
LeetCode #21 Merge Two Sorted Lists
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.Example:Input: 1->2->4, 1->3->4Output: 1->1...原创 2018-03-29 20:00:02 · 118 阅读 · 0 评论 -
LeedCode #7 Reverse Integer
Given a 32-bit signed integer, reverse digits of an integer.Example 1:Input: 123Output: 321Example 2:Input: -123Output: -321Example 3:Input: 120Output: 21Note:Assume we are dealing with an envi...原创 2018-03-26 19:34:45 · 112 阅读 · 0 评论