Java Collections: Problem Solving with Java Sets

In this article we will examine an extremely scaled-down version of a real life problem that can be solved using Java Set. For appreciating the choices made in the sample program presented here, you need to understand the differences between HashSet, LinkedHashSet and TreeSet. Problem Description A web based startup wishes to reward (distribute bonus, if you… Continue reading Java Collections: Problem Solving with Java Sets