Browse Source

Change signature of the functions to make it easier

pull/267/head
Augusto 5 years ago
parent
commit
5cbc6662bc
  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