Java
Data Structures
150
Data structure is a particular way of organizing data in a computer so that it can be used efficiently. Different kinds of data structures are suited to different kinds of applications.
In this problem set, you'll be introduced to the following data structures.
1. Queue
2. Stack
3. Set
The problems in this problem set require you to write a script in Java using the required data structure and process the data in standard input and output the required output to standard output.