11 2018 档案

摘要:1. Question: 611. Valid Triangle Number https://leetcode.com/problems/valid-triangle-number/ Given an array consists of non-negative integers, your ta 阅读全文
posted @ 2018-11-22 23:13 ordi 阅读(111) 评论(0) 推荐(0)
摘要:1. Question: 495. Teemo Attacking https://leetcode.com/problems/teemo-attacking/ In LOL world, there is a hero called Teemo and his attacking can make 阅读全文
posted @ 2018-11-22 23:08 ordi 阅读(107) 评论(0) 推荐(0)
摘要:1. Question: 915. Partition Array into Disjoint Intervals https://leetcode.com/problems/partition-array-into-disjoint-intervals/ Given an array A, par 阅读全文
posted @ 2018-11-22 22:15 ordi 阅读(155) 评论(0) 推荐(0)
摘要:1. Question: 667. Beautiful Arrangement II https://leetcode.com/problems/beautiful-arrangement-ii/ Given two integers n and k, you need to construct a 阅读全文
posted @ 2018-11-21 23:10 ordi 阅读(416) 评论(0) 推荐(0)
摘要:1. Question: 867. Transpose Matrix https://leetcode.com/problems/transpose-matrix/ Given a matrix A, return the transpose of A. The transpose of a mat 阅读全文
posted @ 2018-11-20 22:37 ordi 阅读(140) 评论(0) 推荐(0)
摘要:1. Question: 896. Monotonic Array https://leetcode.com/problems/monotonic-array/ An array is monotonic if it is either monotone increasing or monotone 阅读全文
posted @ 2018-11-20 22:35 ordi 阅读(156) 评论(0) 推荐(0)
摘要:1. Question 849. Maximize Distance to Closest Person url https://leetcode.com/problems/maximize-distance-to-closest-person/ In a row of seats, 1 repre 阅读全文
posted @ 2018-11-20 22:32 ordi 阅读(138) 评论(0) 推荐(0)
摘要:1. Question: 830. Positions of Large Groups url https://leetcode.com/problems/positions-of-large-groups/ In a string S of lowercase letters, these let 阅读全文
posted @ 2018-11-20 22:30 ordi 阅读(149) 评论(0) 推荐(0)
摘要:1. Question: 747. Largest Number At Least Twice of Others url: https://leetcode.com/problems/largest-number-at-least-twice-of-others/ In a given integ 阅读全文
posted @ 2018-11-20 22:29 ordi 阅读(107) 评论(0) 推荐(0)
摘要:1. Question 717. 1-bit and 2-bit Characters https://leetcode.com/problems/1-bit-and-2-bit-characters/ We have two special characters. The first charac 阅读全文
posted @ 2018-11-20 22:26 ordi 阅读(102) 评论(0) 推荐(0)
摘要:1. Question 724. Find Pivot Index https://leetcode.com/problems/find-pivot-index/ Given an array of integers nums, write a method that returns the "pi 阅读全文
posted @ 2018-11-20 22:24 ordi 阅读(122) 评论(0) 推荐(0)
摘要:1. Question: 746. Min Cost Climbing Stairs https://leetcode.com/problems/min-cost-climbing-stairs/ On a staircase, the i-th step has some non-negative 阅读全文
posted @ 2018-11-20 22:19 ordi 阅读(115) 评论(0) 推荐(0)
摘要:1. Question: 905. Sort Array By Parity https://leetcode.com/problems/sort-array-by-parity/ Given an array A of non-negative integers, return an array 阅读全文
posted @ 2018-11-20 22:14 ordi 阅读(113) 评论(0) 推荐(0)
摘要:1. Question: 941. Valid Mountain Array https://leetcode.com/problems/valid-mountain-array/ Given an array A of integers, return true if and only if it 阅读全文
posted @ 2018-11-20 22:10 ordi 阅读(102) 评论(0) 推荐(0)
摘要:1. Question: 238. Product of Array Except Self https://leetcode.com/problems/product-of-array-except-self/ Given an array nums of n integers where n > 阅读全文
posted @ 2018-11-20 22:03 ordi 阅读(81) 评论(0) 推荐(0)
摘要:1. Question: 287. Find the Duplicate Number https://leetcode.com/problems/find-the-duplicate-number/ Given an array nums containing n + 1 integers whe 阅读全文
posted @ 2018-11-20 21:56 ordi 阅读(92) 评论(0) 推荐(0)
摘要:1. Question 445. Add Two Numbers II You are given two non-empty linked lists representing two non-negative integers. The most significant digit comes 阅读全文
posted @ 2018-11-20 21:52 ordi 阅读(105) 评论(0) 推荐(0)
摘要:1. Question: 167. Two Sum II - Input array is sorted url : https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/ Given an array of integers 阅读全文
posted @ 2018-11-19 23:13 ordi 阅读(96) 评论(0) 推荐(0)
摘要:1. Question: 643. Maximum Average Subarray I url https://leetcode.com/problems/maximum-average-subarray-i/ Given an array consisting of n integers, fi 阅读全文
posted @ 2018-11-19 22:58 ordi 阅读(110) 评论(0) 推荐(0)
摘要:1. Questionurl: https://leetcode.com/problems/reshape-the-matrix/ 566. Reshape the Matrix In MATLAB, there is a very useful function called 'reshape', 阅读全文
posted @ 2018-11-19 22:04 ordi 阅读(114) 评论(0) 推荐(0)
摘要:1. Question 414. Third Maximum Number url :https://leetcode.com/problems/third-maximum-number/ Given a non-empty array of integers, return the third m 阅读全文
posted @ 2018-11-19 22:02 ordi 阅读(109) 评论(0) 推荐(0)
摘要:1. Question: 268. Missing Number url : https://leetcode.com/problems/missing-number/ Given an array containing n distinct numbers taken from 0, 1, 2, 阅读全文
posted @ 2018-11-19 22:00 ordi 阅读(122) 评论(0) 推荐(0)
摘要:1. Question: url : https://leetcode.com/problems/longest-continuous-increasing-subsequence/ 674. Longest Continuous Increasing Subsequence Given an un 阅读全文
posted @ 2018-11-19 21:56 ordi 阅读(126) 评论(0) 推荐(0)
摘要:1. Question: 95. Unique Binary Search Trees II Given an integer n, generate all structurally unique BST's (binary search trees) that store values 1 .. 阅读全文
posted @ 2018-11-17 23:26 ordi 阅读(132) 评论(0) 推荐(0)
摘要:1. Quesiton: 872. Leaf-Similar Trees url: https://leetcode.com/problems/leaf-similar-trees/description/ Consider all the leaves of a binary tree. From 阅读全文
posted @ 2018-11-17 22:53 ordi 阅读(102) 评论(0) 推荐(0)
摘要:1. Question: 897. Increasing Order Search Tree url: https://leetcode.com/problems/increasing-order-search-tree/description/ Given a tree, rearrange th 阅读全文
posted @ 2018-11-17 22:47 ordi 阅读(161) 评论(0) 推荐(0)
摘要:1. Quesiton 700. Search in a Binary Search Tree url: https://leetcode.com/problems/search-in-a-binary-search-tree/description/ Given the root node of 阅读全文
posted @ 2018-11-17 22:40 ordi 阅读(127) 评论(0) 推荐(0)
摘要:1. Question: 671. Second Minimum Node In a Binary Tree url: https://leetcode.com/problems/second-minimum-node-in-a-binary-tree/description/ Given a no 阅读全文
posted @ 2018-11-17 22:18 ordi 阅读(150) 评论(0) 推荐(0)
摘要:1. Question: 653. Two Sum IV - Input is a BST url: https://leetcode.com/problems/two-sum-iv-input-is-a-bst/description/ Given a Binary Search Tree and 阅读全文
posted @ 2018-11-17 21:27 ordi 阅读(122) 评论(0) 推荐(0)
摘要:1. Question: 606. Construct String from Binary Tree url : https://leetcode.com/problems/construct-string-from-binary-tree/description/ You need to con 阅读全文
posted @ 2018-11-17 18:35 ordi 阅读(110) 评论(0) 推荐(0)
摘要:1. Quesiton 590. N-ary Tree Postorder Traversal URL: https://leetcode.com/problems/n-ary-tree-postorder-traversal/description/ Given an n-ary tree, re 阅读全文
posted @ 2018-11-17 17:54 ordi 阅读(121) 评论(0) 推荐(0)
摘要:1. Question 589. N-ary Tree Preorder Traversal Given an n-ary tree, return the preorder traversal of its nodes' values. For example, given a 3-ary tre 阅读全文
posted @ 2018-11-17 17:50 ordi 阅读(99) 评论(0) 推荐(0)
摘要:1. Quetions: 617. Merge Two Binary Trees url: https://leetcode.com/problems/merge-two-binary-trees/description/ Given two binary trees and imagine tha 阅读全文
posted @ 2018-11-17 17:41 ordi 阅读(112) 评论(0) 推荐(0)