We can store their freq. as in run-length encoding, each dig freq. would require 1/2 byte storage .10 digits would require 5 bytes = 2 integer type variables or LL int .Digit seq. don't need to be stored coz they appear one after another beginning from 1.
-- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.