Skip to content

Commit

Permalink
update 二叉树理论基础.md 增加C#代码
Browse files Browse the repository at this point in the history
  • Loading branch information
XueshanChen committed Jan 11, 2024
1 parent d2d14d6 commit 650e33b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion problems/二叉树理论基础.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,9 +302,19 @@ impl<T> TreeNode<T> {
}
}
}
```

```
```c#
public class TreeNode
{
public int val;
public TreeNode left;
public TreeNode right;
public TreeNode(int x) { val = x; }
}
```
<p align="center">
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
</a>

0 comments on commit 650e33b

Please sign in to comment.