Norm Radder wrote:Can you treat the number as a sequence of characters ? Then sort the sequence making it easier to compare the two sequences.
Or use a 10 slot array to hold the counts of the number of occurrences of each of the 10 possible values a digit could have.
For example 22344 would give this as the array's contents: 0,0,2,1,2,0,0,0,0,0,0
How do I create this sequence? Can you explain the subject a little more? I'm new to this field, and I don't know some things, but I'm trying to learn. Thanks