Monotype Interview Question

Java programming, hashmap and arrays