leetcode
文章平均质量分 87
BSOD_aura
这个作者很懒,什么都没留下…
展开
-
leetcode 题解代码整理 11-15题
Container With Most Water 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原创 2015-08-10 15:20:47 · 522 阅读 · 0 评论 -
leetcode 题解代码整理 16-20题
3Sum Closest 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 e原创 2015-08-11 10:13:47 · 807 阅读 · 0 评论 -
leetcode 题解代码整理 21-25题
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. 合并两个有序链表原创 2015-08-14 12:21:05 · 731 阅读 · 0 评论 -
leetcode 题解代码整理 31-35题
Next Permutation Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement is not possible, it must rearrange it as原创 2015-08-15 23:44:31 · 654 阅读 · 0 评论 -
leetcode 题解代码整理 1-5题
Two Sum Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to th原创 2015-08-04 21:38:53 · 605 阅读 · 0 评论 -
leetcode 题解代码整理 6-10题
ZigZag Conversion 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 legi原创 2015-08-05 15:11:09 · 1540 阅读 · 0 评论 -
leetcode 题解代码整理 36-40题
Valid Sudoku Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. The Sudoku board could be partially filled, where empty cells are filled with the character '.'. A partia...原创 2015-08-19 23:01:50 · 652 阅读 · 0 评论