2-liner ^^
\n\n\nvector<int> numMovesStones(int a, int b, int c)\n{\n    auto [m, M] = minmax({abs(b-a), abs(c-b), abs(c-a)});\n    return {(m>2) + (M>m+1), M-2};\n}\n
![image](https://assets.leetcode.com/users/images/d0ab0d14-0ab6-40f2-a7d8-fe4d5018a864_1603599251.6124644.png)\n\n```\nvector<int> numMovesStones(int a, int b, int c)\n{\n    auto [m, M] = minmax({abs(b-a), abs(c-b), abs(c-a)});\n    return {(m>2) + (M>m+1), M-2};\n}\n```
['C', 'C++']