Same solution different implementation but one is TLE whereas one is AC. Can anyone explain?

Revision en1, by Haricane193, 2022-03-15 15:18:03

These solutions are for Problem. This solution -> My Implementation goes TLE. whereas this solution -> Editorial goes AC when both have the exact same idea just implemented differently.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Haricane193 2022-03-15 15:18:03 452 Initial revision (published)