TLE in JAVA because of the way I iterated collection

I don’t know about Java, but if you are sure both styles don’t have any significant time differences, then read the following: Link1 Link2 Link3 and especially this comment.

Hope that helps. :smiley:
Please update your post tags if you feel this needs to be seen from administration side.

1 Like