Home
Borko Rajkovic Tech Blog
Cancel

SQL: NULL values in UNIQUE vs DISTINCT

There is a subtle difference in how SQL UNIQUE and DISTINCT reason about NULL values. For UNIQUE they are not the same, but for DISTINCT they are 🀯 Cheat Sheet UNIQUE constraint makes sure n...

Floyd cycle detection

TL;DR To check for the existence of a cycle in Linked List, you can use Floyd cycle detection (tortoise and hare algorithm). I created a mini-game Tile walker πŸƒβ€β™‚οΈ that shows the use of Floyd cyc...

String pool in Java

In this post you will learn about String constant pool (or String pool for short) in Java. Knowing about String pool will deepen your knowledge of Java internals, which is always a plus for a Soft...

Character Encoding Demystified: Everything you Need to Know About ASCII, Unicode, UTF-8

Have you ever wondered how exactly a computer stores letters like A, B, C… or Chinese characters like 吃, or even some emojis like πŸ˜† and πŸš€? Maybe you are familiar with ASCII and you are aware of Un...

Welcome to my blog

Welcome Hi there πŸ‘‹ Welcome to my Tech Blog! Hope you will find interesting articles for you and I am open to any suggestions you may have for new posts. You can contact me via social media or emai...