Node.js/JavaScript interview training - Binary Trees

preview_player
Показать описание
I'm solving typical coding problems you would be asked to solve during an interview. These puzzles are a lot of fun and there's always something new to learn.

In this session, we look at trees. There are several traversal methods:
* Iterative, breadth-first search, level order traversal
* Recursive, depth-first search
* pre order
* in order
* post order

Problem
Given a binary tree in which each node element contains a number. Find the maximum possible sum from one leaf node to another.

Рекомендации по теме
Комментарии
Автор

Tip: 'High' - 'rrr' - 'Arch' - 'i' - 'kal' :D Thanks for the AWESOME tute!

maguilecutty
Автор

Thanks for the name of the extension :thumbsup

ashking