上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页
摘要: Merge Sorted Array Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note: You may assume that nums1 has en 阅读全文
posted @ 2016-05-20 12:49 Juntaran 阅读(155) 评论(0) 推荐(0) 编辑
摘要: Linked List Cycle Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? 阅读全文
posted @ 2016-05-20 12:49 Juntaran 阅读(144) 评论(0) 推荐(0) 编辑
摘要: Remove Duplicates from Sorted Array II Follow up for "Remove Duplicates": What if duplicates are allowed at most twice? For example, Given sorted arra 阅读全文
posted @ 2016-05-20 12:48 Juntaran 阅读(256) 评论(0) 推荐(0) 编辑
摘要: Rotate List Given a list, rotate the list to the right by k places, where k is non-negative. For example: Given 1->2->3->4->5->NULL and k = 2, return 阅读全文
posted @ 2016-05-20 12:47 Juntaran 阅读(186) 评论(0) 推荐(0) 编辑
摘要: Sort Colors Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the 阅读全文
posted @ 2016-05-20 12:47 Juntaran 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Jump Game II Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represen 阅读全文
posted @ 2016-05-20 12:45 Juntaran 阅读(207) 评论(0) 推荐(0) 编辑
摘要: Remove Nth Node From End of List Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1- 阅读全文
posted @ 2016-05-20 12:44 Juntaran 阅读(245) 评论(0) 推荐(0) 编辑
摘要: Remove Duplicates from Sorted Array Given a sorted array, remove the duplicates in place such that each element appear only once and return the new le 阅读全文
posted @ 2016-05-20 12:44 Juntaran 阅读(221) 评论(0) 推荐(0) 编辑
摘要: Longest Substring Without Repeating Characters Given a string, find the length of the longest substring without repeating characters. Examples: Given 阅读全文
posted @ 2016-05-20 12:43 Juntaran 阅读(215) 评论(0) 推荐(0) 编辑
摘要: House Robber II Note: This is an extension of House Robber. After robbing those houses on that street, the thief has found himself a new place for his 阅读全文
posted @ 2016-05-11 17:43 Juntaran 阅读(354) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页