write the simulate_day method so the worst_case time complexity is O(n + c log(n)) where N is

Posted Date: