Workday interview question

System design for a game engine