Test cases in coding console failing with response "Time limit exceeded"
Test cases in coding console failing with response "Time limit exceeded"
If you get this message when you click on "Run Code". Then, this is to inform you that there is a 25-second execution limit when you click on "Run Code", you might want to optimize your code and try running it again.
If you continue to get this error, then you can also use the "Verify" button to view the output or do a syntax check and it should work fine since it can show you the result that exceeds the 25-second time limit which would otherwise occur when you click on "Run code".
However, if you get this error on "Submit", i.e when you click on "details" and see an error that says "Seed Error" or "Time limit exceeded". then we would advise you to wait an hour to see if it changes to "Accepted" status or raise a technical error ticket if it still does not get resolved.
If you continue to face this issue, do raise a ticket by clicking on the "Report an Error" button at the bottom of your learning segment page