Read a real prompt
Every question is grounded in the same dataset of people records, so you spend your time on the Java, not on parsing new context.
Maps · Arrays · Lists · Collections
Build practical Java skills with realistic data problems: filter users, group records, create lookup maps, calculate summaries, and sort results.
How it works
Every question is grounded in the same dataset of people records, so you spend your time on the Java, not on parsing new context.
Use the built-in browser IDE to write real Java against arrays, lists, maps, sets, and streams — no setup required.
Your code compiles and runs server-side. See expected versus actual output instantly, with diagnostics on failures.
What you'll practice
Indexing, iteration, and transforming raw arrays before they ever become a collection.
ArrayList mechanics, iteration order, mutation pitfalls, and converting to and from streams.
Lookups, grouping with Collectors.groupingBy, merging values, and building derived keys.
Deduplication, membership checks, and set operations across records in the dataset.
filter, map, distinct, reduce, and multi-step pipelines that chain cleanly together.
Comparator chains, reversed ordering, thenComparing, and custom sort keys.
Curriculum
One dataset
Every challenge, from your first filter to a multi-step grouped summary, runs against the same set of people records. Less time parsing new data on every question, more time practicing Java.
Sample rows
| name | age | language |
|---|---|---|
| Ava | 14 | Java |
| Cleo | 17 | Python |
| Emi | 29 | JavaScript |
| Gia | 31 | Java |
| Moe | 35 | Go |