We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
111011 can be divided into two groups Group1 = 111 and Group2=11
becuase the problem is ask the programmers to find the maximum number of consecutive 1's. One has to compare the 1's count in Group1 and Group2...On Comparison Group1 has more number of consecutive ones thats why answer is 3 which is count of 1's in Group1
Day 10: Binary Numbers
You are viewing a single comment's thread. Return to all comments →
111011 can be divided into two groups Group1 = 111 and Group2=11 becuase the problem is ask the programmers to find the maximum number of consecutive 1's. One has to compare the 1's count in Group1 and Group2...On Comparison Group1 has more number of consecutive ones thats why answer is 3 which is count of 1's in Group1