i have this class
theclass{
int totalavailable;
other informations;
}
and i made a list LinkedList<theclass> where all available rooms
The user want to see if two rooms of any of the available rooms that are at the list are availables and produce a result with the available options.
for example
availablelist: (2,lala1),(1,lala2),(2,lala3),(1,lala4) where (available, room name)(available list)
if the user search for any room and available 2 then the result can be
(2,lala1),(1,lala1) & (1,lala2),.....
if i have the available list who i can make all the available options?
Thank you very much