Rosetta Problems

Count Operations to Obtain Zero

https://leetcode.com/problems/count-operations-to-obtain-zero