still not getting , Why TLE on one approach and AC on the same .

Revision en2, by vintage_Petr_Mitrichev, 2019-03-23 02:48:32

AC Solution 1

TLE SOL

the first solution which gets ac , also recur for all the four case , and my 2nd solution also recur for all four cases .

But why i am getting tle at TC 6 , is there something i am missing , or something which is increasing the time complexity of 2nd sol.

someone please tell the mistake .

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English vintage_Petr_Mitrichev 2019-03-23 02:48:32 38 Tiny change: 'd sol.\n\n' -> 'd sol.\n\nsomeone please tell the mistake . \n\n'
en1 English vintage_Petr_Mitrichev 2019-03-23 02:47:22 471 Initial revision (published)