Java Data Structers
What would you like to do?
> help
Your options are:
add (adds a student)
drop (drops a student)
find (outputs a student)
size (outputs the size of a group)
members (outputs the members of a group)
largest (outputs the largest size of any group)
smallest (outputs the smallest size of any group)
cover (outputs the minimum number of groups which cover all students)
quit (ends the program)
What would you like to do?
> add
Name?
> Maria Joachin
ID Number?
> 2929291919
Groups?
FTFT
What would you like to do?
> drop
ID Number?
> 124235322
What would you like to do?
> find
ID Number?
> 097544223
097544223, Maria Jacobin, FFTT
What would you like to do?
> size
Group?
> 0
2
What would you like to do?
> members
Group?
> 0
789234532, Francis Dingo, TFFT
098745342, Patricia Rodriguez, TFFF
What would you like to do?
> largest
4
What would you like to do?
> smallest
1
What would you like to do?
> cover
2
What would you like to do?
> quit