Confusion regarding time Complexity

Revision en1, by skpro19, 2017-08-16 08:16:38

If we assume that the length of the string is n, then my solution has a complexity of O(n * n) ;

Why is it not getting TLE instead?

#### History

Revisions

Rev. Lang. By When Δ Comment
en1 skpro19 2017-08-16 08:16:38 343 Initial revision (published)