My Submission is timing out

  • Learner Error: Grader timed out

Please try optimizing the efficiency of your solution and submit again. You can also visit the discussion forum to see if your peers have experienced and found resolutions for similar errors, or if course staff have provided prior guidance for these errors…

Below is my code:
{moderator edit: code removed}

First impression:
Maybe there is an error in your f_of_omega() function, since it is indirectly called via L_of_omega().

Also, please do not post your code on the forum. That’s not allowed by the Code of Conduct.
Please post only your asserts or error messages.