message: Update number-of-steps-to-reduce-a-number-to-zero.cpp
diff: @@ -6,13 +6,9 @@ public:
  int numberOfSteps (int num) {
  int result = 0;
  while (num) {
  - if (num & 1) {
  - --num;
  - } else {
  + result += (num & 1) ? 2 : 1;
  num >>= 1;
  }
  - ++result;
  - }
  - return result;
  + return result - 1;
  }
  };
  