InterviewDB Question

Arithmetic Encoding