摘要:
https://leetcode.com/problems/merge-two-sorted-lists/description/ Merge two sorted linked lists and return it as a new list. The new list should be ma 阅读全文
摘要:
https://leetcode.com/problems/pascals-triangle/description/ Given a non-negative integer numRows, generate the first numRows of Pascal's triangle. In 阅读全文
摘要:
https://leetcode.com/problems/single-number/description/ Given a non-empty array of integers, every element appears twice except for one. Find that si 阅读全文
摘要:
https://leetcode.com/problems/remove-duplicates-from-sorted-array/description/ Given a sorted array nums, remove the duplicates in-place such that eac 阅读全文
摘要:
https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/description/ Given an array of integers that is already sorted in ascending order, find 阅读全文
摘要:
https://leetcode.com/problems/length-of-last-word/description/ Given a string s consists of upper/lower-case alphabets and empty space characters ' ', 阅读全文
摘要:
https://leetcode.com/problems/search-insert-position/description/ Given a sorted array and a target value, return the index if the target is found. If 阅读全文
摘要:
http://poj.org/problem?id=2492 Background Professor Hopper is researching the sexual behavior of a rare species of bugs. He assumes that they feature 阅读全文
摘要:
https://leetcode.com/problems/remove-element/description/ Given an array nums and a value val, remove all instances of that value in-place and return 阅读全文
摘要:
https://leetcode.com/problems/valid-parentheses/description/ Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine 阅读全文