456. 132 Pattern

原题网址:https://leetcode.com/problems/132-pattern/ Given a sequence of n integers a1, a2, ..., an, a 132 pattern is a subsequence ai, aj, ak su...

2016-11-30 04:37:54

阅读数:1095

评论数:1

462. Minimum Moves to Equal Array Elements II

原题网址:https://leetcode.com/problems/minimum-moves-to-equal-array-elements-ii/ Given a non-empty integer array, find the minimum number of moves r...

2016-11-27 03:27:16

阅读数:426

评论数:0

464. Can I Win

原题网址:https://leetcode.com/problems/can-i-win/ In the "100 game," two players take turns adding, to a running total, any integer from 1...

2016-11-26 02:24:53

阅读数:850

评论数:0

LeetCode 465. Optimal Account Balancing

原题网址:https://leetcode.com/problems/optimal-account-balancing/ A group of friends went on holiday and sometimes lent each other money. For exampl...

2016-11-22 04:40:39

阅读数:2421

评论数:0

LeetCode 463. Island Perimeter

原题网址:https://leetcode.com/problems/island-perimeter/ You are given a map in form of a two-dimensional integer grid where 1 represents land and 0...

2016-11-21 04:00:43

阅读数:1278

评论数:0

LeetCode 453. Minimum Moves to Equal Array Elements

原题网址:https://leetcode.com/problems/minimum-moves-to-equal-array-elements/ Given a non-empty integer array of size n, find the minimum number of ...

2016-11-21 03:50:55

阅读数:258

评论数:0

LeetCode 447. Number of Boomerangs

原题网址:https://leetcode.com/problems/number-of-boomerangs/ Given n points in the plane that are all pairwise distinct, a "boomerang" is ...

2016-11-21 03:33:07

阅读数:409

评论数:0

LeetCode 459. Repeated Substring Pattern

原题网址:https://leetcode.com/problems/repeated-substring-pattern/ Given a non-empty string check if it can be constructed by taking a substring of ...

2016-11-19 04:33:02

阅读数:354

评论数:0

LeetCode 441. Arranging Coins

原题网址:https://leetcode.com/problems/arranging-coins/ You have a total of n coins that you want to form in a staircase shape, where every k-th row...

2016-11-19 03:19:43

阅读数:521

评论数:0

LeetCode 400. Nth Digit

原题网址:https://leetcode.com/problems/nth-digit/ Find the nth digit of the infinite integer sequence 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, ... Note...

2016-11-18 07:54:19

阅读数:172

评论数:0

LeetCode 455. Assign Cookies

原题网址:https://leetcode.com/problems/assign-cookies/ Assume you are an awesome parent and want to give your children some cookies. But, you should...

2016-11-17 04:25:32

阅读数:370

评论数:0

LeetCode 414. Third Maximum Number

原题网址:https://leetcode.com/problems/third-maximum-number/ Given a non-empty array of integers, return the third maximum number in this array. If ...

2016-11-17 03:18:06

阅读数:258

评论数:0

LeetCode 408. Valid Word Abbreviation

原题网址:https://leetcode.com/problems/valid-word-abbreviation/ Given a non-empty string s and an abbreviation abbr, return whether the string mat...

2016-11-16 07:38:08

阅读数:263

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭