SJF is best among all non-preemptive methods with its disadvantages. SJF gives less average waiting time and less Turn around time than others and more
in all scheduling algorithms SRJF(i.e SJF with preemption )gives optimal av. waiting time and av. Turn around time
So we will use SJF here to get optimal
3,2,1 will be the sequence but from 0 to 1 CPU will be idle