Rust | Easy Solution, Solved in-place
rust\nuse std::cmp::{min, max};\n\nimpl Solution {\n    pub fn min_max_game(mut nums: Vec<i32>) -> i32 {\n        let mut n = nums.len()/2;\n        \n        w
```rust\nuse std::cmp::{min, max};\n\nimpl Solution {\n    pub fn min_max_game(mut nums: Vec<i32>) -> i32 {\n        let mut n = nums.len()/2;\n        \n        while n > 0{\n            for i in 0..n{\n                if i % 2 ==0{\n                    nums[i] = min(nums[2 * i], nums[2 * i + 1]);\n                }else{\n                    nums[i] = max(nums[2 * i], nums[2 * i + 1]);\n                }\n            }\n            n /= 2;\n        }\n        \n        nums[0]\n    }\n}\n```
['Rust']