Rippling interview question

Task Management System, need to prioritise tasks based on priority, assignee and due date.