Press "Enter" to skip to content

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 Linked List in Java

Ajk 0

Following our Binary Tree Implementation in Java, I put 5 mins of my time towards a small tutorial on ‘How to implement a Linked List in Java. Everything can be…

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…

Find next higher number with same digits.

Ajk 2

This was asked to me in an interview a long long time ago. The question seems easy at first sight – Find next higher number with the same digits: i.e.:…