-1

All I will need to check is AAAAAAAA - AZZZZZZZ.

So I will only have to check the A's but will checking the A's be faster knowing the first char , I can't see why it would be as it would have to check every combination anyway?

0

You will have to check AAAAAAAA-AZZZZZZZ, but that's still 26 times faster than checking AAAAAAAA-ZZZZZZZZ.

That speed increase is significant, so knowing the first character (or any other character) is really worth it.

Not the answer you're looking for? Browse other questions tagged or ask your own question.