2018-05-15 leetcode-188 Best Time to Buy and Sell Stock IV algorithmarraydp leetcode Best Time to Buy and Sell Stock IV题目Say you have an array for which the ith element is the price of a given stock on day
2018-05-05 leetcode-123 Best Time to Buy and Sell Stock algorithmarraydp leetcode Best Time to Buy and Sell Stock题目Say you have an array for which the ith element is the price of a given stock on day i.
2018-05-03 leetcode-121 Best Time to Buy and Sell Stock algorithmarraydp leetcode Best Time to Buy and Sell Stock题目Say you have an array for which the ith element is the price of a given stock on day i.
2018-05-03 leetcode-70. Climbing Stairs algorithmarraydp leetcode Climbing Stairs题目You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 o
2018-05-01 leetcode-53 Maximum Subarray algorithmarraydp leetcode Maximum Subarray题目Given an integer array nums, find the contiguous subarray (containing at least one number) which has t
2018-05-01 leetcode-7 Reverse Integer algorithm leetcode Reverse Integer题目Given a 32-bit signed integer, reverse digits of an integer.Example 1: Input: 123 Output: 321 Example 2
2018-05-01 leetcode-5 Longest Palindromic Substring algorithmdpstring leetcode 5. Longest Palindromic Substring题目Given a string s, find the longest palindromic substring in s. You may assume that the
2018-04-29 leet-code-1 Two Sum algorithmhash_table leetcode Two Sum题目Given an array of integers, return indices of the two numbers such that they add up to a specific target. You m
2018-04-29 leet-code-4 Median of Two Sorted Arrays algorithmarraybinary_search leetcode Median of Two Sorted Arrays题目There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median o
2018-04-29 leet-code-3 Longest Substring Without Repeating Characters algorithmhash_tablestring leetcode Longest Substring Without Repeating Characters题目Given a string, find the length of the longest substring without repeati