Javascript O(1) solution: 44 ms, faster than 100.00%
\nvar numMovesStones = function(a, b, c) {\n    let max = Math.max(a,b,c), min = Math.min(a,b,c);\n    if(min + 2 === max) return [0,0];\n    let mid = a + b + 
```\nvar numMovesStones = function(a, b, c) {\n    let max = Math.max(a,b,c), min = Math.min(a,b,c);\n    if(min + 2 === max) return [0,0];\n    let mid = a + b + c - min - max\n    return mid - min <= 2 || max - mid <= 2 ? [1, max - min - 2] : [2, max - min - 2];\n};\n```
[]