package
0.0.0-20211003111303-bf095942a6eb
Repository: https://github.com/tlboright/golang-interview.git
Documentation: pkg.go.dev

# README

return root to leaves

Problem Definition

Given a binary tree, return all paths from the root to leaves.

For example, given the tree

1 /
2 3 /
4 5

it should return [[1, 2], [1, 3, 4], [1, 3, 5]].