in reply to Re^2: How can I get correct result in counting 3-letter words?
in thread How can I get correct result in counting 3-letter words?
Humm, you didn't actually use my code. (Not that the results would be visibly different.)
Your suggestion to remove the offending letters is broken if said letters can appear anywhere but the beginning and end of the string. "AAAGNTTT" should give "AAA", "TTT", but you're algorithm would give "AAA" and "GTT".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How can I get correct result in counting 3-letter words?
by aaron_baugher (Curate) on Apr 23, 2012 at 02:25 UTC |