
leetcode
应该是只菜鸟
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Two Sum
0x00 难度:Easy Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not u...原创 2019-01-13 22:52:22 · 144 阅读 · 0 评论 -
Unique Paths III
0x00 难度:HARD On a 2-dimensional grid, there are 4 types of squares: 1 represents the starting square. There is exactly one starting square. 2 represents the ending square. There is exactly one endi...原创 2019-01-27 23:29:45 · 358 阅读 · 0 评论 -
Largest Perimeter Triangle
0x00 难度:Easy Given an array A of positive lengths, return the largest perimeter of a triangle with non-zero area, formed from 3 of these lengths. If it is impossible to form any triangle of non-zero ...原创 2019-01-16 22:58:43 · 260 阅读 · 0 评论 -
Distribute Coins in Binary Tree
0x00 难度:Medium Given the root of a binary tree with N nodes, each node in the tree has node.val coins, and there are N coins total. In one move, we may choose two adjacent nodes and move one coin from...原创 2019-02-02 19:55:07 · 363 阅读 · 1 评论 -
Median of Two Sorted Arrays
0x00 难度:Hard There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)). You may assum...原创 2019-02-16 19:48:25 · 129 阅读 · 0 评论