Question: Problem 2: Given an array of 1s and Os which has all 1s first followed by all 0s. Find the number of Os. Count the

Problem 2: Given an array of 1s and Os which has all 1s first followed by all 0s. Find the number of Os. Count the number of zeroes in the given array in O(log n) time
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
