i wouldn't call that too sophisticated, but that is mainly because of two reasons.
1. He checks combinations that he had already checked.
2. Even after a match is found he continues to check for other matches, but he only stores the last one found. I would either have it exit on that match or at least save all possible matches.
|