LeetCode
1-bit and 2-bit Characters
Click
here
for an explanation.