Tree
[Solved] Find Longest Path in a Weighted Tree | Coding Challenge
Problem statement: Write a program to find the longest/maximum path in a weighted tree. This coding question was asked in one of the coding interview rounds. What is the...
3 Binary Tree Traversal Algorithm (Preorder, Inorder and Postorder)
The tree is an important data structure. It has a parent and children relationship at various levels. In this article, we are more focusing on tree traversing. You will also...