Turbo Reverse Factor example


First attempt
G C A T C G C A G A G A G T A T A C A G T A C G
  * 8 7 2  
G C A G A G A G  

Shift by: 5 (8 - 3)

Second attempt
G C A T C G C A G A G A G T A T A C A G T A C G
  - - - 5 4 3 2 1  
  G C A G A G A G  

Shift by: 7 (8 - 1)

Third attempt
G C A T C G C A G A G A G T A T A C A G T A C G
  * 7 2 1  
  G C A G A G A G  

Shift by: 7 (8 - 1)

The Turbo Reverse Factor algorithm performs 13 character comparisons on the example.

Turbo Reverse Factor algorithm