- 博客(3)
- 收藏
- 关注
原创 Leetcode题解:Swap nodes in pairs
原题网址:https://leetcode.com/problems/swap-nodes-in-pairs/Given a linked list, swap every two adjacent nodes and return its head.Example:Given 1->2->3->4, you should return the list as 2-&...
2018-10-28 19:38:01 271
原创 Leetcode题解:Jump Game
原题:https://leetcode.com/problems/jump-game/description/Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents yo...
2018-10-16 20:20:19 180
原创 Leetcode题解:Longest Substring Without Repeating Characters
原题:https://leetcode.com/problems/longest-substring-without-repeating-characters/description/Given a string, find the length of the longest substring without repeating characters.Example 1:Input:...
2018-10-14 21:22:48 122
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人