Home > Back-end >  Data structure is designed and completed a random task queue
Data structure is designed and completed a random task queue

Time:10-20

Application queue, which realize random task design and complete a in problem solving, requirements:
No. 1) task by task, the task time, task time and task start treatment and task completion time and other information;
(2) tasks randomly generated by the system; Tasks queued up for processing in the order after, can be set on average every five minutes (not name every 5 minute) to create a new task, the task for 1 ~ 10 minutes long range,
(3) the system will, in turn, to deal with the task of waiting in queue,
(4) the system run more than after a certain period of time will cease to produce a new task;
(5) the task processing sequence, the output after processing task information,
  • Related