Amazon Interview Question

One coding question was there in second round about Round robin scheduling algorithm