let B be the set of all binary strings over the alphabet {0,1}. Consider the function f:B→B such that for any string x, the value f(x) is obtained by replacing all 0's in x by 1's and all 1's in x by 0's. Is the function bijective? Can anyone tell me why?
Thanks
No comments:
Post a Comment