There will be no aa, ba etc.

Suppose there is a file where there are some words like abc, dac, ru,
cat, act.
Now the program will check these and if the word is in proper
lexicographic order, it will replace the word with the number and
otherwise, delete the word.

The numbering will be as said above. that is the next correct
lexicographic word will get the next integer. here only abc, ru and act
will be given numbers.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups-beta.google.com/group/algogeeks
-~----------~----~----~----~------~----~------~--~---

Reply via email to