05 2014 档案
摘要:Largest Rectangle in Histogram
阅读全文
摘要:Search in Rotated Sorted Array I II
阅读全文
摘要:Remove Duplicates from Sorted Array II
阅读全文
摘要:Minimum Window Substring
阅读全文
摘要:Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The numbers can be arbitrarily large and are non-nega...
阅读全文
摘要:今天看到了一段判断是否为二叉排序树的代码,感觉有点问题,在网上一搜还真有不少这么做的原本的思路大概是这样的吧,判断根节点值是否比左子节点的值大且比右子节点的值小,若成立,递归判断左子右子。不成立返回false,代码就不贴了。想了一下,如果下面这样的树是不是也判定为二叉排序树,但是根据定义,这不是一个...
阅读全文
摘要:First Missing Positive
阅读全文
摘要:Longest Valid Parentheses
阅读全文

浙公网安备 33010602011771号