Skip to content

Commit 24a7443

Browse files
Merge pull request youngyangyang04#671 from jackeyjia/patch-20
add type for each go and js code block
2 parents c7ec6b6 + 7c83141 commit 24a7443

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

problems/二叉树理论基础.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ class TreeNode:
215215
```
216216

217217
Go:
218-
```
218+
```go
219219
type TreeNode struct {
220220
Val int
221221
Left *TreeNode
@@ -224,7 +224,7 @@ type TreeNode struct {
224224
```
225225

226226
JavaScript:
227-
```
227+
```javascript
228228
function TreeNode(val, left, right) {
229229
this.val = (val===undefined ? 0 : val)
230230
this.left = (left===undefined ? null : left)

0 commit comments

Comments
 (0)