python, super easy understanding, upvote plz
\nclass Solution:\n    def minMaxGame(self, nums: List[int]) -> int:\n        def dfs(nums, min_or_max):\n            if len(nums) <= 2:\n                return
```\nclass Solution:\n    def minMaxGame(self, nums: List[int]) -> int:\n        def dfs(nums, min_or_max):\n            if len(nums) <= 2:\n                return min_or_max(nums)\n            return min_or_max(dfs(nums[:len(nums)//2], min), dfs(nums[len(nums)//2:], max))\n        return dfs(nums, min)\n```
[]