Skip to content

Instantly share code, notes, and snippets.

View etigerstudio's full-sized avatar
😶
DOOM D∆YS Pt. II

E-Tiger Studio etigerstudio

😶
DOOM D∆YS Pt. II
View GitHub Profile
@etigerstudio
etigerstudio / exercise-equivalent-binary-trees.go
Last active January 29, 2020 01:38
A Solution to Exercise: Equivalent Binary Trees from A Tour of Go
package main
import (
"fmt"
"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) {