Contains The Fundamental Algorithmic Problem Written In Java