LeetCode 124. Binary Tree Maximum Path Sum | JSer - JavaScript & Algorithm

preview_player
Показать описание
if (Tree) then Recursion
Hi I'm a JavaScript engineer who is not good at algorithms,
and currently practicing leetCode online. If you are interested, maybe we can learn together.
Рекомендации по теме
Комментарии
Автор

could you explain a little what this line is doing? const [maxLeft, maxLeftConnected] =walk (node.left)
Are you destructing from the function walk? Thanks for the video!

carlosvenegas
visit shbcf.ru