Algorithm for Shortest Job First with Preemption
- by Shray
I want to implement a shortest job first routine using C# or C++.
Priority of Jobs are based on their processing time.
Jobs are processed using a binary (min) heap. There are three types of jobs.
Type 1 is when jobs come in between every 4-6 seconds, with processing times between 4-6.
Type 2 job comes in between 8-12 seconds, with processing times…