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

strstr vs KMP

$
0
0

Could any one please help me understanding which one's better strstr() or KMP for pattern matching.. as recently while doing a question on SPOJ i found that strstr was someway or other faster than KMP..

can someone please explain ..


Viewing all articles
Browse latest Browse all 40121

Trending Articles



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