Skip to content

Commit 688ca21

Browse files
Update course5/course_en.md
Co-authored-by: Zihang Ye <[email protected]>
1 parent bbdce79 commit 688ca21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

course5/course_en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ fn remove_largest(tree: IntTree) -> (IntTree, Int) {
197197
```moonbit no-check
198198
fn remove(tree: IntTree, value: Int) -> IntTree {
199199
match tree { ...
200-
Node(root, left, right) => if root == value {
200+
Node(root, left, right) => if root == value {
201201
let (newLeft, newRoot) => remove_largest(left)
202202
Node(newRoot, newLeft, right)
203203
} else ... }

0 commit comments

Comments
 (0)