Hash Code – Java's collections

Welcome back to Hash Code miniserie where you can read how the hash codes (non-cryptographic hashing algorithms) and hash collections work in different programming languages. This time let's take a look under the hood of Java's collections and Strings. How hash codes are generated for them? Let's check it out. Arrays Arrays in Java do… Continue reading Hash Code – Java's collections

Hash Code – Introduction

Welcome to the first article of the Hash Code miniserie where you can read how the hash codes (non-cryptographic hashing algorithms) and hash collections work in different programming languages. Every software engineer uses hash collections like Python's dictionary, Java's hash map or C++'s unordered map. You get them to know pretty early in your learning… Continue reading Hash Code – Introduction

UTF-8 – the brilliant trick to rule them all

UTF-8 is probably the biggest invention in electronic text communication since the invention of the ASCII table in 1967 and remains so to this day. It dominated the World Wide Web in 2009 and it is used by almost 95% of websites nowadays. In fact, everybody uses it but many might be not aware of… Continue reading UTF-8 – the brilliant trick to rule them all

Unique Integer

From time to time I like to solve some algorithmic tasks on Hackerrank. First of all, it is good to change the domain after constantly working on different kinds of challenges in professional life like solving business problems, fixing bugs and scaling the system. Secondly, it always reminds me of a very good period in… Continue reading Unique Integer