![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
OJ解题报告
冰封飞飞
这个作者很懒,什么都没留下…
展开
-
LeetCode 96 Unique Binary Search Trees 解题报告
原题: Unique Binary Search TreesGiven n, how many structurally unique BST’s (binary search trees) that store values 1…n?For example, Given n = 3, there are a total of 5 unique BST’s. 1 3原创 2015-03-27 16:34:06 · 444 阅读 · 0 评论 -
LeetCode 136 Single Number解题报告
Single Number Total Accepted: 62249 Total Submissions: 137347Given an array of integers, every element appears twice except for one. Find that single one.Note: Your algorithm should have a linear run原创 2015-03-29 22:59:55 · 418 阅读 · 0 评论 -
LeetCode 116 Populating Next Right Pointers in Each Node 解题报告
Populating Next Right Pointers in Each Node Total Accepted: 44163 Total Submissions: 122231Given a binary treestruct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next; }原创 2015-03-30 20:44:13 · 2283 阅读 · 0 评论 -
LeetCode 137 Single Number II 解题报告
Single Number II Total Accepted: 44725 Total Submissions: 128964Given an array of integers, every element appears three times except for one. Find that single one.Note: Your algorithm should have a l原创 2015-03-31 00:17:09 · 376 阅读 · 0 评论 -
LeetCode 62 Unique Paths 解题报告
Unique Paths Total Accepted: 39541 Total Submissions: 120951 A robot is located at the top-left corner of a m x n grid (marked ‘Start’ in the diagram below). The robot can only move either down or原创 2015-03-31 22:33:25 · 454 阅读 · 0 评论