mirror of
https://github.com/blindlobstar/go-interview-problems
synced 2025-05-01 06:05:14 +00:00
19 lines
304 B
Go
19 lines
304 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 {
|
|
}
|
|
|
|
func main() {
|
|
}
|