Browse Source

Merge pull request #267 from 01-edu/ChangeBTreeApplyByLevel

Change signature of the functions to make it easier
pull/261/head^2
LEEDASILVA 5 years ago committed by GitHub
parent
commit
0a98d14027
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      subjects/btreeapplybylevel.en.md

2
subjects/btreeapplybylevel.en.md

@ -7,7 +7,7 @@ Write a function, `BTreeApplyByLevel`, that applies the function given by `fn` t
### Expected function
```go
func BTreeApplyByLevel(root *TreeNode, fn interface{}) {
func BTreeApplyByLevel(root *TreeNode, f func(...interface{}) (int, error)) {
}
```

Loading…
Cancel
Save