Collections in Java: interview exercises
Collections in Java: 6 test-checked interview exercises (Remove duplicates, keep the order), each beside a worked example, with tests as you go. Free.
- Remove duplicates, keep the order
- Group words by length
- Balanced brackets
- The k largest numbers
- An LRU cache
- Merge two count maps
Each exercise pairs a worked example with a twin problem to solve in a real editor; the tests run the moment you do. Progress is saved in your browser, and in your account if you sign in.