|
2 | 2 | * Welcome to visit my CSDN blog(http://blog.csdn.net/daigualu)
|
3 | 3 | * CSDN Column(http://blog.csdn.net/column/details/14761.html) where detail solutions are.
|
4 | 4 | ## `Today Update`
|
5 |
| -### Tree |
6 |
| -#### 105 Construct Binary Tree from Preorder and Inorder Traversal |
7 |
| -* [Github:#105 Construct Binary Tree from Preorder and Inorder Traversal](/Tree/Tree.TreeLib/BuildTreeByPreAndInorder.cs) |
8 |
| -* [CSDN:#105 Construct Binary Tree from Preorder and Inorder Traversal](http://blog.csdn.net/daigualu/article/details/72127022) |
| 5 | +### Math |
| 6 | +#### 453 Minimum Moves to Equal Array Elements |
| 7 | +* [Github:#453 Minimum Moves to Equal Array Elements](/Math/Math.Lib/MinimumMovesSln.cs) |
| 8 | +* [CSDN:#453 Minimum Moves to Equal Array Elements](http://blog.csdn.net/daigualu/article/details/72354061) |
9 | 9 | * Tips:
|
10 |
| - * the most important function in solving this issue is |
11 |
| - * private TreeNode bulidTree(int preStart, int inStart, int inEnd) ; |
12 |
| - * Plus, preStart index in preorder is the root index, which is also the separate point in inorder and it’s left is left subtree and right is right subtree. |
| 10 | + * using Math equation to solve this issue! |
| 11 | + |
13 | 12 | ---
|
14 | 13 | ---
|
15 | 14 |
|
@@ -228,4 +227,11 @@ Tags are following:
|
228 | 227 | * apply 1: valid stack oepration: ((ab)c)d (a(bc))d (ab)(cd) a((bc)d) a(b(cd))
|
229 | 228 | * apply 2: 
|
230 | 229 | * apply 3: 
|
231 |
| - * apply 4:  |
| 230 | + * apply 4:  |
| 231 | +#### 105 Construct Binary Tree from Preorder and Inorder Traversal |
| 232 | +* [Github:#105 Construct Binary Tree from Preorder and Inorder Traversal](/Tree/Tree.TreeLib/BuildTreeByPreAndInorder.cs) |
| 233 | +* [CSDN:#105 Construct Binary Tree from Preorder and Inorder Traversal](http://blog.csdn.net/daigualu/article/details/72127022) |
| 234 | +* Tips: |
| 235 | + * the most important function in solving this issue is |
| 236 | + * private TreeNode bulidTree(int preStart, int inStart, int inEnd) ; |
| 237 | + * Plus, preStart index in preorder is the root index, which is also the separate point in inorder and it’s left is left subtree and right is right subtree. |
0 commit comments