Skip to content

Commit 1fdf190

Browse files
committed
剑指Offer–039-平衡二叉树--http://blog.csdn.net/gatieme/article/details/51346422
1 parent 26697a1 commit 1fdf190

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

039-平衡二叉树[附加]/README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,16 @@
1010
1111

1212
| 牛客OJ | 九度OJ | CSDN题解 | GitHub代码 |
13-
| ------------- |:-------------:| -----:|
13+
| ------ |:------:| --------:|:----------:|
1414
|[039-平衡二叉树](http://www.nowcoder.com/practice/8b3b95850edb4115918ecebdf1b4d222?tpId=13&tqId=11192&rp=2&ru=%2Fta%2Fcoding-interviews&qru=%2Fta%2Fcoding-interviews%2Fquestion-ranking) | 未收录 | [剑指Offer--039-平衡二叉树](http://blog.csdn.net/gatieme/article/details/51346422) | [039-平衡二叉树](https://github.com/gatieme/CodingInterviews/tree/master/039-平衡二叉树%5B附加%5D) |
1515

1616

1717

18+
<br>**您也可以选择[回到目录-剑指Offer--题集目录索引](http://blog.csdn.net/gatieme/article/details/51916802)**
19+
20+
21+
22+
1823
#题意
1924
-------
2025

@@ -227,4 +232,4 @@ public:
227232
}
228233
229234
};
230-
```
235+
```

039-平衡二叉树[附加]/isavlrecursion.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
#include <iostream>
22
#include <cmath>
33

4+
45
using namespace std;
56

6-
// µ÷ÊÔ¿ª¹Ø
7+
8+
79
#define __tmain main
810

911
#ifdef __tmain
@@ -28,6 +30,7 @@ struct TreeNode
2830

2931
#endif // __tmain
3032

33+
3134
class Solution
3235
{
3336
public:
@@ -102,6 +105,8 @@ class Solution
102105
};
103106

104107

108+
109+
105110
int __tmain( )
106111
{
107112
// 0

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,14 @@ COMMIT_35="剑指Offer--035-第一个只出现一次的字符位置--http://blog
3636
COMMIT_36="剑指Offer--036-数组中的逆序对--http://blog.csdn.net/gatieme/article/details/51326994"
3737
COMMIT_37="剑指Offer–037-两个链表的第一个公共结点--http://blog.csdn.net/gatieme/article/details/51330871"
3838
COMMIT_38="剑指Offer--038-数字在排序数组中出现的次数--http://blog.csdn.net/gatieme/article/details/51335323"
39-
39+
COMMIT_39_1="剑指Offer–039-二叉树的深度--http://blog.csdn.net/gatieme/article/details/51339884"
40+
COMMIT_39_2="剑指Offer–039-平衡二叉树--http://blog.csdn.net/gatieme/article/details/51346422"
4041

4142
RETURN_TOP ="<br>**您也可以选择[回到目录-剑指Offer--题集目录索引](http://blog.csdn.net/gatieme/article/details/51916802)**"
4243

4344

4445

45-
GITHUB_COMMIT=$(COMMIT_38)
46+
GITHUB_COMMIT=$(COMMIT_39_2)
4647

4748

4849
all:github

0 commit comments

Comments
 (0)