Please read the new rule regarding the restriction on the use of AI tools. ×

Python weird memory limit exceeded

Revision en3, by dsanurag520, 2024-04-29 16:18:18

This is the problem

This is my solution

I think my solution matches some of the answers given by some grandmasters. However I am not able to figure out the reasons for getting MLE. I have only 3 lists of length 200000 each and I am sure this is not the reason for MLE.

If anyone can guide me it would be nice.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English dsanurag520 2024-04-29 16:18:18 40 Tiny change: 'r MLE.\n\n' -> 'r MLE.\n\nIf anyone can guide me it would be nice.'
en2 English dsanurag520 2024-04-29 16:17:03 20
en1 English dsanurag520 2024-04-29 16:16:31 434 Initial revision (published)