This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
lecture_notes:04-22-2011 [2011/06/10 00:16] eyliaw [Searching] |
lecture_notes:04-22-2011 [2011/06/10 00:22] eyliaw [Searching] |
||
---|---|---|---|
Line 53: | Line 53: | ||
Start R-(aW) = C(a) + O(a,R-(W)) or (n - 1) if W is the empty string | Start R-(aW) = C(a) + O(a,R-(W)) or (n - 1) if W is the empty string | ||
Where a is the first character and W is the word. | Where a is the first character and W is the word. | ||
- | |||
- | To find the end position of the substring GO in |