SteelReed

Search

Search posts, questions…

Interview

Java & JVM

The Java language, collections and algorithms, concurrency, the JVM and memory.

Start studying
Questions
99
Junior
37
Middle
45
Senior
17

Java Core

Open topic
  1. Set 01

    How Java runs

    From source to the JVM, stack and heap, picking a Java version.

    Junior2Middle1
    0/3
    View questions · 3 questions
  2. Set 02

    Types and operators

    Primitives, casting, autoboxing, overflow, money and arrays.

    Junior7Middle2
    0/9
    View questions · 9 questions
  3. Set 03

    Strings and equality

    == vs equals, the string pool, StringBuilder, the equals/hashCode contract.

    Junior2Middle2
    0/4
    View questions · 4 questions
  4. Set 04

    Classes, enums and records

    final, nested classes, records, immutability and sealed types.

    Junior4Middle2Senior1
    0/7
    View questions · 7 questions
  5. Set 05

    Exceptions

    Checked vs unchecked, try-with-resources and what exceptions cost.

    Junior1Middle1Senior1
    0/3
    View questions · 3 questions
  6. Set 06

    Generics

    Generic classes and methods, PECS, type erasure.

    Junior1Middle2
    0/3
    View questions · 3 questions
  7. Set 07

    Lambdas and streams

    Functional interfaces, streams, Optional, collectors, parallel streams.

    Junior2Middle4
    0/6
    View questions · 6 questions
  8. Set 08

    Dates and times with java.time

    Instant, LocalDate, ZoneId and time conventions across services.

    Junior2Middle1Senior1
    0/4
    View questions · 4 questions
  9. Set 09

    Reflection and annotations

    How frameworks use reflection, and what annotation processors do instead.

    Middle2
    0/2
    View questions · 2 questions
  10. Set 10

    Performance and Java upgrades

    Moving from Java 8 to a newer LTS, and whether streams are slower than loops.

    Senior2
    0/2
    View questions · 2 questions

Collections & DSA

Open topic
  1. Set 01

    Choosing the right collection

    List, Set, Map, Queue: what each one is for.

    Junior5
    0/5
    View questions · 5 questions
  2. Set 02

    Sorting and comparing

    Comparable, Comparator, TimSort, merge sort and quicksort.

    Junior2Middle2
    0/4
    View questions · 4 questions
  3. Set 03

    Inside HashMap

    Buckets, treeification, compute/merge and mutated keys.

    Middle3
    0/3
    View questions · 3 questions
  4. Set 04

    Collections across threads

    Fail-fast iterators, thread-safe maps and ConcurrentHashMap internals.

    Middle3
    0/3
    View questions · 3 questions
  5. Set 05

    Common algorithms

    Big-O, recursion, binary search, trees, graphs, heaps and DP.

    Junior4Middle4
    0/8
    View questions · 8 questions
  6. Set 06

    Design problems

    An LRU cache and sorting a file bigger than RAM.

    Middle1Senior1
    0/2
    View questions · 2 questions

Concurrency

Open topic
  1. Set 01

    Thread basics

    Processes and threads, thread states, handling interrupts.

    Junior2Middle1
    0/3
    View questions · 3 questions
  2. Set 02

    Locks and shared state

    Race conditions, synchronized, volatile, CAS, locks, deadlock and false sharing.

    Junior2Middle3Senior2
    0/7
    View questions · 7 questions
  3. Set 03

    Thread pools and coordination

    Executors, latches/semaphores, pool sizing, exceptions on other threads, ThreadLocal.

    Junior1Middle3Senior1
    0/5
    View questions · 5 questions
  4. Set 04

    Async code and virtual threads

    CompletableFuture, @Async, parallel calls with timeouts, virtual threads.

    Middle2Senior2
    0/4
    View questions · 4 questions
  1. Set 01

    Memory, class loading, GC and JIT

    Memory areas, class loading, how GC finds garbage, JIT, G1 vs ZGC.

    Middle3Senior2
    0/5
    View questions · 5 questions
  2. Set 02

    The OS under the JVM

    Virtual memory, file descriptors and I/O models.

    Middle3
    0/3
    View questions · 3 questions
  3. Set 03

    Troubleshooting the JVM in production

    OutOfMemoryError, RSS on Kubernetes, 100% CPU and Tomcat limits.

    Senior4
    0/4
    View questions · 4 questions