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.
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.