13. Programming Problems: I). (2 marks) Four people (John, Jane, Jack, Jason) were exploring a tunnel which only allowed one person to pass through each time. So they went in one after the other. Because the tunnel has a dead end, they had to walk back. Their families were waiting for them at the entrance of the tunnel. Who would their families see first, second, .., and the last? Choose a suitable data structure to simulate the tunnel, add the four people to the data structure, and then get them out using proper operations. 2). (2 marks) Someone wants to enter 20 words into a data structure. But he does not want to have duplicated words saved. Select a suitable data structure to store the words. Write the code to read the words one by one from the keyboard and save them in the data structure. 3). (3 marks) Four peop would like to serve them the Java code to simulate the line, add the four people to the line, and then serve them (by tak out of the line and print his/her name). le (John, Jane, Jack, Jason) are waiting on a line to be served at Tim Hortons. You based on the order they arrive. Choose a suitable data structure for the line-up. Write ing each of them wants to enter 50 words into a data structure. He wants to have the words saved in ascending order. Write the code to read the words one by one from the keyboard and save them in the data structure. 4). (2 marks) Someone 13. Programming Problems: I). (2 marks) Four people (John, Jane, Jack, Jason) were exploring a tunnel which only allowed one person to pass through each time. So they went in one after the other. Because the tunnel has a dead end, they had to walk back. Their families were waiting for them at the entrance of the tunnel. Who would their families see first, second, .., and the last? Choose a suitable data structure to simulate the tunnel, add the four people to the data structure, and then get them out using proper operations. 2). (2 marks) Someone wants to enter 20 words into a data structure. But he does not want to have duplicated words saved. Select a suitable data structure to store the words. Write the code to read the words one by one from the keyboard and save them in the data structure. 3). (3 marks) Four peop would like to serve them the Java code to simulate the line, add the four people to the line, and then serve them (by tak out of the line and print his/her name). le (John, Jane, Jack, Jason) are waiting on a line to be served at Tim Hortons. You based on the order they arrive. Choose a suitable data structure for the line-up. Write ing each of them wants to enter 50 words into a data structure. He wants to have the words saved in ascending order. Write the code to read the words one by one from the keyboard and save them in the data structure. 4). (2 marks) Someone