Pergunta de entrevista da empresa ADP

how to avoid starvation in operating system?