There are two types of special characters:
The first character is represented by a single bit,
The second character is represented by two bits, either
Given an array of binary digits bits that terminates with true if the final character must be a one bit character, and false otherwise.
Constraints:
bits.length
bits[i] is either
There are two types of special characters:
The first character is represented by a single bit,
The second character is represented by two bits, either
Given an array of binary digits bits that terminates with true if the final character must be a one bit character, and false otherwise.
Constraints:
bits.length
bits[i] is either