asmhatre
cb1b28682f
Add dynamic-programming module: ten classic DP problems, memoization vs tabulation vs space-optimised, call-count and pitfall transcripts (11 tests)
2026-11-09 08:41:01 +00:00
asmhatre and Claude Sonnet 5.5
911aef5515
Add sliding-window module: 12 sliding window and two-pointer interview problems, brute-force cross-checks, dry-run traces, operation counts, pitfalls (11 tests)
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
Claude-Session: https://claude.ai/code/session_017ic4b6EqSkUWKNBc8i3Q3U
2026-11-09 08:40:07 +00:00
asmhatre
4a9021d936
New posts
2026-11-06 21:43:33 +05:30
asmhatre and Claude Sonnet 5.5
8d8d7956ba
README: add lru-cache row
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
Claude-Session: https://claude.ai/code/session_017ic4b4VQVEJWetTT1dYzyJ
2026-10-29 05:56:02 +00:00
asmhatre and Claude Sonnet 5.5
0457cf4bfb
Add lru-cache module: LinkedHashMap and hand-rolled DLL LRU, coarse-lock/striped thread-safe variants, broken ReadWriteLock demo, Caffeine reference, 43 tests, JMH harness
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
Claude-Session: https://claude.ai/code/session_017ic4b4VQVEJWetTT1dYzyJ
2026-10-29 05:52:27 +00:00
asmhatre and Claude Sonnet 5.5
4a376b94e9
Add disarium-number module: loop, String and stream approaches, dry run, counts to 10^8
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
Claude-Session: https://claude.ai/code/session_017ic4b4VQVEJWetTT1dYzyJ
2026-10-29 03:56:25 +00:00
Claude
94306c50ab
Add multithreading module: odd-even, ping-pong, ordered threads, deadlock detection and fixes, virtual-thread variants (25 tests)
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
Claude-Session: https://claude.ai/code/session_017ic4b7rnC7jppGGdHGESvy
2026-10-28 18:10:23 +00:00
asmhatre and Claude Sonnet 5.5
f80e1079a8
Add hashmap-vs-concurrenthashmap module: JDK 25 sizeCtl/treeify internals, forced and measured lost updates
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
Claude-Session: https://claude.ai/code/session_017ic4b7rnC7jppGGdHGESvy
2026-10-28 18:07:37 +00:00
asmhatre and Claude Sonnet 5.5
715036b640
Add junit-mockito module: 30 runnable JUnit 6.1.3 / Mockito 5.24.0 interview answers
...
One test per question, each writing and asserting its own transcript under output/.
Covers lifecycle, extensions, parameterized and dynamic tests, mocks vs spies,
verification, strict stubs, static and constructor mocking, and flaky tests.
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
Claude-Session: https://claude.ai/code/session_01CifR2BE7PBvRy5hT8TS9oz
2026-10-26 01:52:44 +00:00
asmhatre and Claude Sonnet 5.5
d03962ea9c
Add hibernate-jpa module: 40 runnable Hibernate 7 / JPA interview answers on PostgreSQL 16
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
Claude-Session: https://claude.ai/code/session_01Cfo2K4u4rF18QsPXPFnytf
2026-10-24 17:33:29 +00:00
asmhatre
a5fbf45971
Add lld-parking-lot module: thread-safe parking lot with Strategy, Observer and CAS-based spot claiming, 10 tests incl. 64-thread race
2026-10-22 08:01:55 +00:00
asmhatre and Claude Sonnet 5
d4b3a63615
Add collections module: HashMap bucket layout, treeification, and a real ConcurrentModificationException reproduction
...
Companion code for the ankurm.com post "Top 40 Java Collections Interview Questions
(HashMap Internals to Fail-Fast Iterators)". Verified against JDK 25's own HashMap
source (TREEIFY_THRESHOLD=8, UNTREEIFY_THRESHOLD=6, MIN_TREEIFY_CAPACITY=64), with
every claim backed by a committed docs/output/*.txt transcript from a real run.
Co-Authored-By: Claude Sonnet 5 <[email protected] >
Claude-Session: https://claude.ai/code/session_01YXCrLgRKFgCh9RHKW8xaqJ
2026-10-01 04:27:27 +00:00