mirror of
https://github.com/blindlobstar/go-interview-problems
synced 2025-04-30 21:55:13 +00:00
17 lines
301 B
Go
17 lines
301 B
Go
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 {
|
|
return false
|
|
}
|