Binary Tree Problems in Java - 22: Get Level of a Given Node

preview_player
Показать описание

In this video, we're going to reveal exact steps to get level of a node in binary tree in java

Please check video for more info:

CHECK OUT CODING SIMPLIFIED

★☆★ VIEW THE BLOG POST: ★☆★

I started my YouTube channel, Coding Simplified, during Dec of 2015.
Since then, I've published over 200+ videos.

★☆★ SUBSCRIBE TO ME ON YOUTUBE: ★☆★

★☆★ Send us mail at: ★☆★

This problem is similar to following:
get level of a node in binary tree in java,
get level of a node in binary tree,
binary tree get level of a node java,
binaryu tree get level of a element,
binary tree,
java tutorial,
coding simplified,
java
Рекомендации по теме
Комментарии
Автор

Sir what about the 2 on the left of 7? Can you please explain?

gismtomar
Автор

Sir which one is best approach in inorder, preorder or postorder ?

santhosh
Автор

Sir please make me understand why you returned two l variables and why (l ! = 0) is placed between two recursive function???

Please explain or elaborate the returning of l variable..

Can't we remove this condition

If( l! = 0) return l;

amazinglife