java 0 ms 100%
\nclass Solution {\n    public int minMaxGame(int[] nums) {\n        if(nums.length==1) return nums[0];\n        int[] a=new int[nums.length/2];\n        int k=
```\nclass Solution {\n    public int minMaxGame(int[] nums) {\n        if(nums.length==1) return nums[0];\n        int[] a=new int[nums.length/2];\n        int k=0;\n        for(int i=0;i<nums.length/2;i++){\n            if(k==0){\n                a[i]=Math.min(nums[i*2],nums[i*2+1]);\n                k=1;\n            }\n            else{\n                a[i]=Math.max(nums[i*2],nums[i*2+1]);\n                k=0;\n            }\n        }\n        return minMaxGame(a);\n    }\n}\n```
['Java']