Brute Force 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
1 2 3 4  
G C A G A G A G  
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
  1  
  G C A G A G A G  
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
  1  
  G C A G A G A G  
Fourth 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
  1  
  G C A G A G A G  
Fifth 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
  1  
  G C A G A G A G  
Sixth 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
  1 2 3 4 5 6 7 8  
  G C A G A G A G  
Seventh 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
  1  
  G C A G A G A G  
Eighth 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
  1  
  G C A G A G A G  
Ninth 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
  1 2  
  G C A G A G A G  
Tenth 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
  1  
  G C A G A G A G  
Eleventh 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
  1 2  
  G C A G A G A G  
Twelfth 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
  1  
  G C A G A G A G  
Thirteenth 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
  1 2  
  G C A G A G A G  
Fourteenth 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
  1  
  G C A G A G A G  
Fifteenth 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
  1  
  G C A G A G A G  
Sixteenth 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
  1  
  G C A G A G A G  
Seventeenth 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
  1  
  G C A G A G A G

The Brute Force algorithm performs 30 character comparisons on the example.

Brute Force algorithm