摘要:
标题:Palindrome Number通过率:29.1%难度:简单Determine whether an integer is a palindrome. Do this without extra space. 这个题没有理解是因为单词不认识,然后就是不知道什么是回文数,翻译一下,百度一下才... 阅读全文
摘要:
标题:Minimum Depth of Binary Tree通过率:29.2%难度:简单Given a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest p... 阅读全文
摘要:
标题:Binary Tree Level Order Traversal II通过率:30.5%难度:简单Given a binary tree, return thebottom-up level ordertraversal of its nodes' values. (ie, from lef... 阅读全文
摘要:
标题:Valid Parentheses通过率:27.7%难度:简单Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The b... 阅读全文
摘要:
标题:Plus One通过率:31.1%难度:简单Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the mos... 阅读全文
摘要:
标题:Min Stack通过率:15.2%难度:简单Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.push(x) -- Push element x o... 阅读全文
摘要:
标题:Binary Tree Level Order Traversal通过率:29.9%难度:简单Given a binary tree, return thelevel ordertraversal of its nodes' values. (ie, from left to right, l... 阅读全文
摘要:
连接地址:http://blog.csdn.net/sjf0115/article/details/8645991 阅读全文
摘要:
标题:Compare Version Numbers通过率:14.8%难度:简单Compare two version numbersversion1andversion1.Ifversion1>version2return 1, ifversion1len2 ? len1:len2; 9 ... 阅读全文
摘要:
标题:Majority Element通过率:33.8%难度:简单Given an array of sizen, find the majority element. The majority element is the element that appears more than⌊ n/2 ⌋... 阅读全文