Posted on 2005-03-14
Preparing some tests to be delivered as "training" (who knows what will they come out with next..)
Need a snippet that will give me combinations of characters (0-9, a-z) given a particular constraint (ex: How many pairs of 2 characters can be combined into a 4-character word?)
Now, my starting point is probably the most troubling part: creating a DB of all character combinations upto 5 characters.. Once I built the DB, I'll easily surf through with SQL or some extra code..
How can I get that done?
Example of output: