上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 76 下一页
摘要: Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. k is a positive integer and is less than or equal to 阅读全文
posted @ 2018-10-16 10:58 bernieloveslife 阅读(110) 评论(0) 推荐(0)
摘要: Given an array of non negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maxim 阅读全文
posted @ 2018-10-16 10:58 bernieloveslife 阅读(101) 评论(0) 推荐(0)
摘要: Given an input string (s) and a pattern (p), implement wildcard pattern matching with support for '?' and ' '. '?' Matches any single character. ' ' M 阅读全文
posted @ 2018-10-16 10:58 bernieloveslife 阅读(679) 评论(0) 推荐(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: 阅读全文
posted @ 2018-10-15 10:34 bernieloveslife 阅读(93) 评论(0) 推荐(0)
摘要: 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 t 阅读全文
posted @ 2018-10-15 10:34 bernieloveslife 阅读(81) 评论(0) 推荐(0)
摘要: Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + d = target? Find all unique q 阅读全文
posted @ 2018-10-15 10:34 bernieloveslife 阅读(101) 评论(0) 推荐(0)
摘要: Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the s 阅读全文
posted @ 2018-10-15 10:34 bernieloveslife 阅读(180) 评论(0) 推荐(0)
摘要: Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Return the sum of the thr 阅读全文
posted @ 2018-10-15 10:34 bernieloveslife 阅读(153) 评论(0) 推荐(0)
摘要: Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candidates where the 阅读全文
posted @ 2018-10-14 10:42 bernieloveslife 阅读(131) 评论(0) 推荐(0)
摘要: You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Note: You have to rotate the image in place, which 阅读全文
posted @ 2018-10-14 10:42 bernieloveslife 阅读(396) 评论(0) 推荐(0)
上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 76 下一页