We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I got 5 test cases right, others were wrong because the code was taking more time and did not execute in the required time (time limit exceeded error). Can somebody please help me to optimize my code? Here's my code:
Sorted Subsegments
You are viewing a single comment's thread. Return to all comments →
I got 5 test cases right, others were wrong because the code was taking more time and did not execute in the required time (time limit exceeded error). Can somebody please help me to optimize my code? Here's my code: