If f is a function from set of all bit strings to the set of integers ,then
if we have a formal statement that f(s) is the smallest integer i such that ith bit of s is 1 and f(s)=0 when s is the empty string ,the string with no bits .
I am unable to get that why is this not a function.
if we have a formal statement that f(s) is the smallest integer i such that ith bit of s is 1 and f(s)=0 when s is the empty string ,the string with no bits .
I am unable to get that why is this not a function.