Browse through all our published articles and discover knowledge across various topics
504 Articles
System Design › Low-Level Design
Just enough UML to ace a low-level design interview: the class box, the relationship arrows (inheritance, realization, composition, aggregation, association), and multiplicity — with a worked example.
Java
A beginner-friendly tour of Java 21 (LTS) highlights: virtual threads, records, pattern matching and switch expressions, text blocks, and helpful NullPointerExceptions.
Java
A quick-reference cheat sheet to the most common Java errors and their fixes: cannot find symbol, incompatible types, NullPointerException, ArrayIndexOutOfBounds, and silent logic bugs.
System Design › Low-Level Design
The five SOLID principles made simple — Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion — each with a plain example and why it makes code extensible and testable.
Java
Fix the ConcurrentModificationException in Java: why it happens when you modify a collection while looping, and four correct fixes including removeIf and iterator.remove.
System Design › Low-Level Design
The OOD foundation every low-level design interview needs: the four pillars of OOP, object relationships (association, aggregation, composition, inheritance), and why to favour composition over inheritance.
Java
Fix and prevent the NullPointerException, Java’s most common error: what causes it, how to read the stack trace, and four proven fixes including null checks and Optional.
Java
Spring vs Spring Boot explained: they are partners, not rivals. Learn what each is, the kitchen analogy, auto-configuration and starters, and which to learn (hint: Spring Boot).
System Design › High-Level Design
Design a ticket booking system where the core challenge is concurrency: no double-booking under a flash-sale stampede. The reservation pattern, pessimistic vs optimistic locking, strong consistency, and virtual waiting rooms.
Java
ArrayList vs LinkedList in Java compared: how each works, a full performance table (O(1) vs O(n)), the key insight, and why ArrayList is the sensible default for most cases.
System Design › High-Level Design
Design a file sync and storage service end to end: chunking files into blocks, content-hash deduplication, block-level delta sync (only upload what changed), metadata vs block storage, notifications, conflicts, and versioning.
Java
Understand == vs .equals() in Java and fix the most common beginner bug: reference vs content comparison, the String pool gotcha, the rule to memorise, and custom equals().