Question
Remember that Totally Not Pokemon game from near the beginning of the semester? You decide the next step is to make a multiplayer, MMO-style version
Remember that Totally Not Pokemon game from near the beginning of the semester? You decide the next step is to make a multiplayer, MMO-style version of it. Players will log into a central server, which will maintain a queue of login requests so that not too many people are playing at the same time. Unfortunately, the intern you hire to help you write the MMO code never passed his data structures class. (This makes you wonder why you hired him in the first place, but thats a discussion for another time!) He insists that the login queue should store the queue elements in a linked list and should always fix the front of the queue at the tail of the list, because thats easier. All your attempts at explaining why this is a Horrible Idea are met with much resistance. And due to strict labor laws, you cant just fire the intern without good reason. So you decide the best course of action is to implement the interns plan, deploy it on your live server, watch your game subscriptions take a precipitous dive, blame the intern for it, use that as a reason to let him go, and then sue him to recover your lost revenue. Because MURICA. a. (10 pts) Write a NaughtyLLQueue
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started