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