There is one correct way to install Java on macOS. If you don't follow it, everything will work... until you need to switch which version you're using. (more…)
Read more »
Java is a safe programming language and prevents programmer
from doing a lot of stupid mistakes, most of which based on memory management.
But, there is a way to do such mistakes intentionally, using Unsafe class.
Read more »
We all love binary search.
Straightforward, easy to understand algorithm; finds your number in a sorted array
in an appealing O(log n) time. But is it that simple to implement? (more…)
Read more »