Morgan Stanley Interview Question

Design a process queue and explain throughout, the flow with reason