Idiot-maker

  :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

随笔分类 -  LeetCode

上一页 1 ··· 5 6 7 8 9 10 下一页

摘要:https://oj.leetcode.com/problems/find-minimum-in-rotated-sorted-array/ Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e 阅读全文
posted @ 2015-02-01 23:04 NickyYe 阅读(717) 评论(1) 推荐(0)

摘要:https://oj.leetcode.com/problems/merge-two-sorted-lists/ Merge two sorted linked lists and return it as a new list. The new list should be made by spl 阅读全文
posted @ 2015-01-31 23:11 NickyYe 阅读(192) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/convert-sorted-array-to-binary-search-tree/Given an array where elements are sorted in ascending order, convert it to... 阅读全文
posted @ 2015-01-31 22:39 NickyYe 阅读(359) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/edit-distance/Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each o... 阅读全文
posted @ 2015-01-31 20:19 NickyYe 阅读(163) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/triangle/Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers o... 阅读全文
posted @ 2015-01-29 21:59 NickyYe 阅读(304) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/word-break-ii/Given a stringsand a dictionary of wordsdict, add spaces insto construct a sentence where each word is ... 阅读全文
posted @ 2015-01-28 23:30 NickyYe 阅读(477) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/word-break/Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequenc... 阅读全文
posted @ 2015-01-26 20:45 NickyYe 阅读(259) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/best-time-to-buy-and-sell-stock-iii/Say you have an array for which theithelement is the price of a given stock on da... 阅读全文
posted @ 2015-01-25 20:48 NickyYe 阅读(218) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/maximum-product-subarray/Find the contiguous subarray within an array (containing at least one number) which has the ... 阅读全文
posted @ 2015-01-24 21:12 NickyYe 阅读(207) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/minimum-path-sum/Given amxngrid filled with non-negative numbers, find a path from top left to bottom right whichmini... 阅读全文
posted @ 2015-01-23 15:58 NickyYe 阅读(233) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/unique-paths-ii/Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique p... 阅读全文
posted @ 2015-01-23 14:18 NickyYe 阅读(195) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/unique-paths/A robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot ca... 阅读全文
posted @ 2015-01-23 13:16 NickyYe 阅读(191) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/string-to-integer-atoi/Implementatoito convert a string to an integer.Hint:Carefully consider all possible input case... 阅读全文
posted @ 2015-01-23 09:16 NickyYe 阅读(177) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/longest-palindromic-substring/Given a stringS, find the longest palindromic substring inS. You may assume that the ma... 阅读全文
posted @ 2015-01-22 15:04 NickyYe 阅读(164) 评论(0) 推荐(0)

摘要:https://leetcode.com/problems/median-of-two-sorted-arrays/description/ There are two sorted arrays A and B of size m and n respectively. Find the medi 阅读全文
posted @ 2015-01-21 20:36 NickyYe 阅读(190) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/longest-substring-without-repeating-characters/ Given a string, find the length of the longest substring without repe 阅读全文
posted @ 2015-01-18 22:51 NickyYe 阅读(964) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/add-two-numbers/ You are given two linked lists representing two non-negative numbers. The digits are stored in rever 阅读全文
posted @ 2015-01-18 20:39 NickyYe 阅读(197) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/majority-element/Given an array of sizen, find the majority element. The majority element is the element that appears... 阅读全文
posted @ 2015-01-17 20:38 NickyYe 阅读(457) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/climbing-stairs/You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or... 阅读全文
posted @ 2015-01-16 21:50 NickyYe 阅读(231) 评论(0) 推荐(0)

摘要:https://oj.leetcode.com/problems/single-number-ii/Given an array of integers, every element appearsthreetimes except for one. Find that single one.Not... 阅读全文
posted @ 2015-01-16 21:30 NickyYe 阅读(190) 评论(0) 推荐(0)

上一页 1 ··· 5 6 7 8 9 10 下一页