generate a linked list, each node indicate a room. At the very beginning, the list includes all the rooms. Whenever a room is cleaned, it will be removed from the list.
What you need to do is just print this list.
generate a linked list, each node indicate a room. At the very beginning, the list includes all the rooms. Whenever a room is cleaned, it will be removed from the list.
What you need to do is just print this list.
WENXUECITY.COM does not represent or guarantee the truthfulness, accuracy, or reliability of any of communications posted by other users.
Copyright ©1998-2025 wenxuecity.com All rights reserved. Privacy Statement & Terms of Use & User Privacy Protection Policy