i_love_emilia_clarke's blog

By i_love_emilia_clarke, history, 7 years ago, In English

Here is the link to the problem LINK. This is a simple string matching problem. I got AC verdict even with the brute force solution but i am getting TLE when using Z-algorithms in Python. Can anyone figure out why i am getting TLE for THIS solution.Thanks in advance

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

| Write comment?