i_love_emilia_clarke's blog

By i_love_emilia_clarke, history, 8 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

| Write comment?