Fitbit interview question

Write a task scheduler in C using a prototype like "void scheduleTask(task* task, int timeToExecute)".

Interview Answer

Anonymous

Apr 13, 2015

Look up how FreeRTOS does it. All you need is a function pointer, a system timer and a task list.