Posts Tagged 'search'

Knuth-Morris-Pratt String Search Algorithm

The KMP algorithm searches for the occurrence of a word W in a sentence S while employing the observation that when a mismatch occurs W contains sufficient information to determine the start position of the next search in S.

Say W = abcd and S = abcbabcd. Now we compare W[0] with S[0], W[1] with S[1], W[2] with S[2] and they all match. But W[3] does not match S[3]. The brute force algorithm would have started the ...

Continue Reading ?
0

Firefox Awesome Bar Auto Complete

The Awesome Bar of Firefox is too good. However, when compared to Google Chrome’s bar it lacks in one aspect. Search for single keywords.

I always use the location bar to search. Say I wanted to lookup the techcrunch webpage. In Chrome all I have to do is to type techcrunch and hit enter. The Google search shows me the result. In Firefox the same does not happen. Instead, Firefox interprets the single keyword as http://techcrunch/ and ...

Continue Reading ?
0

Change Firefox Location Bar Search Engine

I have been using firefox for quite a long time now and have got used to its location bar search action. Recently, I did a few plugin installs and uninstalls and somehow managed to mess up the configuration such that the location bar search failed. It would display a neterror message and an error page instead of the google search or the I’m Feeling Lucky result. Upon searching for some time, ...

Continue Reading ?
2