Qualcomm Interview Question

Design a task scheduler on the bare metal environment.