Leetcode 717. 1-bit and 2-bit Characters
Given a binary array where 0 represents a one-bit character and 10/11 represent two-bit characters, determine whether the final 0 (the array is guaranteed to end with 0) must be decoded as a one-bit character when the array is parsed left-to-right.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.