Press "Enter" to skip to content

Posts tagged as “Java”

How to Implement QuickSort in Java

Ajk 1

Today, I wanted to take a look at a pretty common sorting technique. Indeed anyone with a Bachelor in CS is expected to know how to implement QuickSort in java…

How to Print N Integers in String Order

Ajk 0

So the purpose of this question is to print out N integers in String Order. For example, if N is 1000, then we will output: 1, 10, 100, 1000, 101,…

How to Convert a Roman Number to Integer

Ajk 0

This question came to my attention from one of my readers a few days ago. They had been asked this question in an online interview and implied that it was…

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…