摘要: We have two special characters. The first character can be represented by one bit 0. The second character can be represented by two bits (10 or 11).Now given a string represented by several bits. Retu... 阅读全文
posted @ 2017-11-04 18:18 xiejunzhao 阅读(312) 评论(0) 推荐(0)
摘要: Given an array of characters, compress it in-place.The length after compression must always be smaller than or equal to the original array.Every element of the array should be a character (not int) of... 阅读全文
posted @ 2017-11-04 18:18 xiejunzhao 阅读(1072) 评论(0) 推荐(0)