Category Archives: Problem Solving

Check Divisibility In a Stream Of 1′s and 0′s

A stream of 1′s and 0′s are coming. At any time we have to tell that the resultant number from the binary digits till that point is divisible by 3 or not. For eg: let’s see one example. Let 1 come (not div by 3).then 1 come so resultant binary number is 11(3) which is Read More →