inspired by Count down from infinity Given a non-negative integer N, output the number of repetitions of the following steps it takes to reach 0: Convert N to binary (4812390 -> 10010010110111001100110) Flip each bit (10010010110111001100110 -> 01101101001000110011001) Trim leading zeroes (01101101001000110011001 -> 1101101001000110011001) Convert back to decimal (1101101001000110011001 -> 3576217) Rules Input and output may be in any unambiguous, consistent format The input will be within th...