Project Euler #219: Skew-cost coding

  • + 1 comment

    how can we write a prefix code of 6 as: 0000,0001,001,01,10,11

    and for 9 as: 000,001,010,011,100,101,110,1110,1111 which are given in program