- 博客(5)
- 收藏
- 关注
原创 【21-25】LeetCode:Python解题
21. Merge Two Sorted Lists【Easy】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.Solution 1:# Defini
2017-12-16 11:46:14 1863
原创 【16-20】LeetCode:Python解题
16. 3Sum Closest【Medium】Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each i
2017-12-09 12:00:01 1445
原创 【11-15】LeetCode:Python解题
11. Container With Most Water【Medium】Given n non-negative integers a1, a2, …, an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i i
2017-12-09 11:52:57 1136
原创 【6-10】LeetCode:Python解题
6. ZigZag Conversion【Medium】The string “PAYPALISHIRING” is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)P
2017-12-09 11:47:01 1171
原创 【1-5】LeetCode:Python解题
1. Two Sum【Easy】Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not
2017-12-09 11:42:04 3605
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人