Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 40121

TLE in SPOJ: A Needle in the Haystack

$
0
0

Problem link

My code

I have implemented the Rabin-Karp algorithm and still it's exceeding the time limit. Any suggestions for making it faster?


Viewing all articles
Browse latest Browse all 40121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>