LeetCode 112: Path Sum | C++

preview_player
Показать описание
A simple solution to Leetcode question 112: Path Sum. The solution uses a depth-first search and recursive approach and is explained in C++.

#leetcode #pathsum
Комментарии
Автор

Very good and simple explanation, Keep it up!

eshandhok
Автор

it gives error for the following input
[-2, null, -3]
-2

ayushsisodia