Badral1's blog

By Badral1, history, 12 months ago, In English

Today I tried to solve this 219C - Color Stripe using ruby and my code's time complexity was 26*n but, I got a TLE (Time Limit Exceeded). Could someone explain to me the time complexity of ruby language? (My code:75217241)

Read more »

 
 
 
 
  • Vote: I like it
  • +2
  • Vote: I do not like it

By Badral1, history, 23 months ago, In English
 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it