you give binary array num 0indexedwe define xi number binary representation subarray nums0i mostsignificantbit leastsignificantbitfor example num 101 x0 1 x1 2 x2 5Return array booleans answer answeri true xi divisible 5 Example 1input num 011output truefalsefalseexplanation the input number binary 0 01 011 0 1 3 base10only number divisible 5 answer0 trueexample 2input num 111output falsefalsefalse Constraints1 numslength 105numsi 0 1