![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
leetcode
u010444517
这个作者很懒,什么都没留下…
展开
-
Leetcode【字符串】: Reverse Words in a String 要点分析
1,这是开博客的第一篇文章,也是我到北航学习的第一天,再到北京的火车上就给自己原创 2014-09-14 14:38:52 · 426 阅读 · 0 评论 -
leetcode:Minimum Depth of Binary Tree
Minimum Depth of Binary Tree https://oj.leetcode.com/problems/minimum-depth-of-binary-tree/原创 2014-10-20 15:58:24 · 377 阅读 · 0 评论 -
leetcode:Pascal's Triangle
https://oj.leetcode.com/problems/pascals-triangle/原创 2014-10-20 15:38:03 · 288 阅读 · 0 评论 -
先成长性
#include #include using namespace std; void HeapAdjust(int *a,int i,int size) //调整堆 { int lchild=2*i; //i的左孩子节点序号 int rchild=2*i+1; //i的右孩子节点序号 int max=i; //临时变量原创 2015-02-05 11:35:15 · 420 阅读 · 0 评论 -
按法定v
#include #include using namespace std; void HeapAdjust(int *a,int i,int size) //调整堆 { int lchild=2*i; //i的左孩子节点序号 int rchild=2*i+1; //i的右孩子节点序号 int max=i; //临时变量原创 2015-02-05 11:44:40 · 336 阅读 · 0 评论