Computer Science, asked by sanjanasarangi7394, 11 months ago

Write a procedure to display the nodes of a binary tree at a particular level.

Answers

Answered by krishtina25
0
Get Level of a node in a Binary Tree

Given a Binary Tree and a key, write a function that returns level of the key.

For example, consider the following tree. If the input key is 3, then your function should return 1. If the input key is 4, then your function should return 3. And for key which is not present in key, then your function should return 0.



Similar questions