$ show anton-liauchuk/java-interview
This repository is a curated collection of Java interview questions and answers, organized by topics such as Core Java, Collections, Concurrency, Spring, Hibernate, SQL, and more. It also includes several small, self-contained Java projects that demonstrate specific concepts: a custom Stream API implementation (custom-stream), a deadlock example (deadlock), a set of LeetCode algorithm solutions (leetcode-221-maximal-square), and a flawed code review snippet (review). The primary value is the extensive markdown documentation with links to external resources, making it a useful study aid for Java interview preparation. The code examples are educational but not production-grade; the custom-stream project is the most notable for illustrating the internal pipeline pattern of Java Streams. The repository is static and has not been actively updated in some time, though the content remains relevant for many core Java topics.
The LLM identified 1 files worth highlighting for reuse:
Implements a custom reference pipeline for the Stream API, mimicking the internal structure of java.util.stream.ReferencePipeline. It supports filter, map, and toList operations by chaining Sink instances. The design demonstrates the lazy evaluation and chain-of-responsibility pattern used by Java Streams. The component is self-contained (only depends on StreamObject, Sink, and Stream), making it extractable as a learning tool for understanding stream internals.