Press "Enter" to skip to content

Posts tagged as “Java”

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.:…

Synchronization in Java

Ajk 2

If you have followed my previous post – How to Implement Threads in Java, then you probably know by now how to create and start your own threads. However what…

How to convert decimals to binary

Ajk 0

Today we are going to take a look at a fun little question and learn how to convert decimals to binary 🙂 First off, to clarify any confusion we have…