| String Algorithms | |||||||||||||||||||
| Example | |||||||||||||||||||
|
|||||||||||||||||||
![]() |
|||||||||||||||||||
| Mismatch at the second character of T | |||||||||||||||||||
Fig : 2(a) |
|||||||||||||||||||
|
|||||||||||||||||||
![]() |
|||||||||||||||||||
| Scince the corresponding character are same, there is a match at shift 1. | |||||||||||||||||||
Fig : 2(b) |
|||||||||||||||||||
|
|||||||||||||||||||
![]() |
|||||||||||||||||||
| Mismatch at the 3rd character of T | |||||||||||||||||||
Fig : 2(c) |
|||||||||||||||||||
| Prev | |||||||||||||||||||