Sukarna_Paul's blog

By Sukarna_Paul, history, 3 months ago, In English,

My Solution with KMP is getting TLE . How can I approach in a faster way? Problem Link

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it

»
3 months ago, # |
  Vote: I like it 0 Vote: I do not like it

I think it might be due to the character by character match. Here's my kmp code I think it is easy to understand and implement.

My_KMP

I hope it helps. Happy coding :)