A dynamic programming algorithm for constructing optimal "1"-ended binary prefix-free codes. - Sze-Lok Chan; Mordecai J. Golin (IEEE Trans. Inf. Theory, 2000)