Skip to content

Instantly share code, notes, and snippets.

View shaqsnake's full-sized avatar
🌴
On vacation

shaqsnake shaqsnake

🌴
On vacation
View GitHub Profile
@shaqsnake
shaqsnake / find_all_path.go
Last active August 15, 2018 15:00
1. Given a m*n girds, find all paths from (0, 0) to (m, n) 2. Get the max depth of a binary tree
package main
import (
"fmt"
)
var res = make([][]point, 0)
type point struct {
x, y int