More like a puzzle than a programming problem
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```python []\nclass Solution(object):\n    def numMovesStones(self, a, b, c):\n        """\n        :type a: int\n        :type b: int\n        :type c: int\n        :rtype: List[int]\n        """\n        x = min(a,b,c)\n        z = max(a,b,c)\n        l = [a,b,c]\n        for i in l:\n            if i != x and i!= z:\n                y = i\n\n        if z == y+1 and y == x+1:\n            return [0,0]\n\n        if y == x+1 or z == y+1 or y-x == 2 or z-y == 2:\n            m = 1\n        else:\n            m = 2\n        M = z-x-2\n        return (m, M)\n        \n```
['Python']