- 博客(5)
- 收藏
- 关注
原创 LeetCode 13 level 0
Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M.Symbol ValueI 1V 5X 10L 50C 100D 5...
2018-05-17 15:58:54 124
原创 Leetcode 21 level 0
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-05-17 14:50:35 160
原创 Leetcode 128 level 1
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.Your algorithm should run in O(n) complexity.Example:Input: [100, 4, 200, 1, 3, 2]Output: 4Explanati...
2018-05-10 00:48:20 161
原创 LeetCode 19 level 2
Given a linked list, remove the n-th node from the end of list and return its head.Example:Given linked list: 1->2->3->4->5, and n = 2.After removing the second node from the end, the li...
2018-05-09 23:33:18 143
原创 Leetcode 260 level 2
Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the two elements that appear only once.For example:Given nums = [1,...
2018-05-07 12:49:40 142
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人