Press "Enter" to skip to content

Posts tagged as “Tree”

Find Longest Path in Tree

Ajk 0

Today’s question is going to be a quick one. We want to find longest path in tree. What does Path mean in a Tree context? The Tree wikipedia page and…

How to find the next highest node in a BSTree

Ajk 0

This is a fun little question that will give an interviewer the chance to gauge your understanding of Trees and BSTrees. If wanting more clarification check our binary TreeNode implementation…

How to implement a Binary Tree in Java

Ajk 1

I was thinking about writing a Binary Tree coding question and just realized I need a Binary Tree implementation in Java for that. Explaining shortly – we will keep track…