title: strstr() vs Knuth Morris Pratt
body: <p>Can someone please help me understanding which one is more efficient strstr() or KMP as recently I was doing a question on SPOJ and found that strstr() was in one way or other faster than KMP..
  someone please explain the mystery behind this..</p>