try to use huffmans encoding for such kind of compressions. On Nov 4, 4:06 pm, neeraj agarwal <[email protected]> wrote: > i have a file contain only 0's and 1's, > how can i compress it efficiently. > say for e.g > (000101010110110101001011101011101010101010..................................... > ......................................................................................................... > )obviously > order of 1 and 0 is not same as above.
-- 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.google.com/group/algogeeks?hl=en.
