Question
#i need solution faster please in c++ or c # # use queue data structure # assume the processor has many processes that are needed
#i need solution faster please in c++ or c #
# use queue data structure #
assume the processor has many processes that are needed to be processed in the same time , each process needs a time to finished , so the processor puts them in the ordered queue such that the process with minimum time comes first in front of the queue .i.e the processor should serve the fewest time firstly. 1. write a function to insert a process , in its proper place.(make sorting for queue) 2. write a function to find the total working time of the processor.(time to make sorting for queue)
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