![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
leetcode
应该是只菜鸟
这个作者很懒,什么都没留下…
展开
-
Two Sum
0x00难度:EasyGiven 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 · 95 阅读 · 0 评论 -
Unique Paths III
0x00难度:HARDOn 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 · 308 阅读 · 0 评论 -
Largest Perimeter Triangle
0x00难度:EasyGiven 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 · 189 阅读 · 0 评论 -
Distribute Coins in Binary Tree
0x00难度:MediumGiven 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 · 293 阅读 · 1 评论 -
Median of Two Sorted Arrays
0x00难度:HardThere 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 · 94 阅读 · 0 评论