Easy JAVA Soln || Constant Space
\n    public int minMaxGame(int[] nums) {\n        \n        int n = nums.length;\n        \n        while(n/2 > 0)\n        {\n            n= n/2;\n           
```\n    public int minMaxGame(int[] nums) {\n        \n        int n = nums.length;\n        \n        while(n/2 > 0)\n        {\n            n= n/2;\n            for(int i=0;i<n;i++)\n            {\n                if(i%2==0)  nums[i] = Math.min(nums[2 * i], nums[2 * i + 1]);\n                else nums[i] = Math.max(nums[2 * i], nums[2 * i + 1]);\n            }\n        }\n       return  nums[0];\n    }\n```
[]