I can't understand why the output of the example is
[ (4, ['0001', '0011', '1100' ]),
(5, ['011', 1000', '110' ]),
(6, ['0000', '111']),
(7, ['0010','1001' ]),
(8, ['0100']),
(10,['010']),
(11,['000', '001', '11']),
(12,['100']),
(15,['01','10']),
(23,['00'])
]
and not
[(1, ['1101', '1011']),
(2, ['0101', '1010', '0110']),
(3, ['101', '0111', '1111', '1110']),
(4, ['0001', '0011', '1100']),
(5, ['011', '110', '1000']),
(6, ['111', '0000']),
(7, ['1001', '0010']),
(8, ['0100']),
(10, ['010']),
(11, ['11', '001', '000']),
(12, ['100']),
(15, ['01', '10']),
(23, ['00'])]
that is why the result hasn't the frequences (1?), 2, 3.
[ (4, ['0001', '0011', '1100' ]),
(5, ['011', 1000', '110' ]),
(6, ['0000', '111']),
(7, ['0010','1001' ]),
(8, ['0100']),
(10,['010']),
(11,['000', '001', '11']),
(12,['100']),
(15,['01','10']),
(23,['00'])
]
and not
[(1, ['1101', '1011']),
(2, ['0101', '1010', '0110']),
(3, ['101', '0111', '1111', '1110']),
(4, ['0001', '0011', '1100']),
(5, ['011', '110', '1000']),
(6, ['111', '0000']),
(7, ['1001', '0010']),
(8, ['0100']),
(10, ['010']),
(11, ['11', '001', '000']),
(12, ['100']),
(15, ['01', '10']),
(23, ['00'])]
that is why the result hasn't the frequences (1?), 2, 3.