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