Find 1's complement of a binary number
For Example:
x = 10011010
1's complement of x = 01100101
Required output is an array of single digits.
What is the input? Number? String?
What is the output? Array of digits, as Bjorn said?
nice one
Nice One! :v
input is a number and the output should be an array
I have updated the test case. Solvers should check if their solution sill works. Happy coding
How are we supposed to determine the number of leading zeros? (5th test)
1636 Solvers
138 Solvers
179 Solvers
construct matrix with identical rows
138 Solvers
Matlab Basics - Set unwanted parts of a vector to zero
149 Solvers