797. All Paths From Source to Target
Problem & Example
Questions before reading example
나의 풀이
Spent time
- 30m
Review
- dfs, backtracking 와 친해지는중..
- index 를 알맞게 잘 활용하는 것(target 과 length - 1, 2차원 array 등) 은 항상 어렵다.
- 처음에 0 을 넣어주는 아이디어도 discussion 을 통해서 알 수 있었다.