Samples
Samples
exercise-equivalent-binary-trees
Language: Gold, Platform: Echoes, Category: Tour of Go
https://github.com/remobjects/ElementsSamples/tree/master/Gold/Echoes/Tour of Go/exercise-equivalent-binary-trees
-
exercise-equivalent-binary-trees.Echoes
-
References
- #
- ..\Tour\Tour.Echoes.elements
- Source Files
-
Other Files
-
References
exercise-equivalent-binary-trees.go
// Ignored build directive: +build no-build OMIT
package main
import "golang.org/x/tour/tree"
// Walk walks the tree t sending all values
// from the tree to the channel ch.
func Walk(t *tree.Tree, ch chan int)
// Same determines whether the trees
// t1 and t2 contain the same values.
func Same(t1, t2 *tree.Tree) bool
func main() {
}
