Skip to content

Instantly share code, notes, and snippets.

View moutasdimitris's full-sized avatar
🖥️

moutasdimitris

🖥️
View GitHub Profile

Keybase proof

I hereby claim:

  • I am moutasdimitris on github.
  • I am moutasdimitris (https://keybase.io/moutasdimitris) on keybase.
  • I have a public key ASCOdRFu94E0y7OP5HqyH9LD_4yayCsgtxdr84bd6QHfsgo

To claim this, I am signing this object:

public class RoundRobin {
static int[] calcWaitingTime(int burstTime[], int quantum) {
int[] waitingTime = new int[burstTime.length]; // Waiting Time
int[] remainingBurstTime = new int[burstTime.length]; // Remaining Burst Time
for (int i = 0; i < burstTime.length; i++)
{
remainingBurstTime[i] = burstTime[i]; // Copy all values from table burstTime to remainingBurstTime
}