Start here
Java
Learn Java as a connected topic across articles, concepts, simulations, and interview reasoning.
JavaMental ModelTradeoffsFailure ModesInterview ReasoningJava 21 to 25
Begin with
Java 21 to 25 gives you the cleanest entry point before branching into constraints, failures, and related systems.
39
Articles
10
Concepts
Related systems
Follow the nearby ideas
Use the map as a quiet orientation layer, then move back into the articles for depth.
Guidance
Java
Continues from what you have already explored.
System behavior
HyperLogLog Cardinality Estimation
Hash values route into registers, leading-zero runs update maxima, and the harmonic mean estimates unique cardinality with bounded error.
Step 1 / 3Normal flow
Read in sequence
1Java 21 to 25: Virtual Threads, Pattern Matching, and Structured ConcurrencyTLDR: Java 21 LTS makes virtual threads a production-ready replacement for bounded thread pools — your newFixedThreadPool(200) can become newVirtualThreadPerTaskExecutor() and handle 10× the concurren22 min2Java 14 to 17: Records, Sealed Classes, Text Blocks, and Pattern MatchingTLDR: Java 14–17 ran a deliberate four-release preview-to-stable conveyor belt. Records replaced 50-line POJOs with one line. Text blocks ended escape-sequence chaos in multi-line strings. Sealed clas25 min3Java 8 to 11: Lambdas, Streams, Modules, and the End of BoilerplateTLDR: Java 8 introduced the most impactful set of language features in Java's history — lambdas eliminated anonymous inner classes, streams replaced imperative loops, and Optional made null handling e16 min4Java 8 to Java 25: How Java Evolved from Boilerplate to a Modern LanguageTLDR: Java went from the most verbose mainstream language to one of the most expressive. Lambdas killed anonymous inner classes. Records killed POJOs. Virtual threads killed thread pools for I/O work.25 min5Java Memory Model Demystified: Stack vs. HeapTLDR: Java memory is split into two main areas: the Stack for method execution frames and primitives, and the Heap for all objects. Understanding their differences is essential for avoiding stack over14 min6How JVM Garbage Collection Works: Types, Memory Impact, and TuningTLDR: JVM garbage collection automatically reclaims unused heap memory, but every algorithm makes a different trade-off between throughput, latency, and memory footprint. The default G1GC targets 200m25 min7Adapting to Virtual Threads for Spring DevelopersTLDR: Platform threads (one OS thread per request) max out at a few hundred concurrent I/O-bound requests. Virtual threads (JDK 21+) allow millions — with zero I/O-blocking cost. Spring Boot 3.2 enabl18 min8Big O Notation Explained: Time Complexity, Space Complexity, and Why They Matter in InterviewsTLDR: Big O notation describes how an algorithm's resource usage grows as input size grows — not how fast it runs on your laptop. Learn to identify the 7 complexity classes (O(1) through O(n!)), deriv34 min9Two Pointer Technique: Solving Pair and Partition Problems in O(n)TLDR: Place one pointer at the start and one at the end of a sorted array. Move them toward each other based on a comparison condition. Every classic pair/partition problem that naively runs in O(n²) 16 min10Tries (Prefix Trees): The Data Structure Behind AutocompleteTLDR: A Trie stores strings character by character in a tree, so every string sharing a common prefix shares those nodes. Insert and search are O(L) where L is the word length. Tries beat HashMaps on 17 min11Sliding Window Technique: From O(n·k) Scans to O(n) in One PassTLDR: Instead of recomputing a subarray aggregate from scratch on every shift, maintain it incrementally — add the incoming element, remove the outgoing element. For a fixed window this costs O(1) per16 min12Merge Intervals Pattern: Solve Scheduling Problems with Sort and SweepTLDR: Sort intervals by start time, then sweep left-to-right and merge any interval whose start ≤ the current running end. O(n log n) time, O(n) space. One pattern — three interview problems solved.
13 min
Showing the top 12 of 39 matching articles.
Related threads

