You are viewing a single comment's thread. Return to all comments →
Confusing indeed, but here "consecutive 1's" simply means a series of "one or more 1's with no 0 in between".
Hence, max. no. of consecutive 1's in 101 is said to be 1.
Seems like cookies are disabled on this browser, please enable them to open this website
Day 10: Binary Numbers
You are viewing a single comment's thread. Return to all comments →
Confusing indeed, but here "consecutive 1's" simply means a series of "one or more 1's with no 0 in between".
Hence, max. no. of consecutive 1's in 101 is said to be 1.