Expected value for test case '0'


#1

Why shouldn’t the output be 1 for 0 as input?


#2

Because 0!=1
since there is no zeros in ‘1’, output would be 0.