Well believe it or not, I have not worked with file Input/Output in Java in almost 4 years now. If you’re in the same boat as me and get to…
Well well, it has been a while since i last wrote something (a week I think?), mainly because my shoulder got dislocated last weekend, while snowboarding… but fear not, there…
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…
EDIT: If you liked this post or already know the two ways of implementing threads in Java – check out my follow-up Synchronization in Java First off if you do…
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…
How to find out if two Strings are anagrams… When you first come across this problem you will probably think to yourself – easy, I know what an anagram is…
How to implement a LRU Cache? I got asked this question at a phone interview a long time ago. If you have rarely used and heard the term “cache” this…
This is a simple guide on knowing how to write a binary search in a non-duplicate array. It could improve your code performance by a small to big amount depending…