liyin2015 / python-coding-interview

A middle-to-high level open source algorithm book designed with coding interview at heart!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"0.1.3 All Paths" example in the backtracking chapter

Zane-XY opened this issue · comments

Thank you for the hard work.

I have trouble understanding the "all paths" example in the backtracking chapter.

Unlike the in the permutations and combinations example, the arguments in this function is undocumented, and why the graph can be represented in the array is not explained.

image

Hi, @Zane-XY The way to represent a graph can be found in DATA structure part, you can download the pdf of the whole book here.