Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

#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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions