Search
⌘K
Get Premium
Leetcode 2293. Min Max Game
Given an array whose length is a power of two, repeatedly reduce it by forming a new array where each even index takes the min of its pair and each odd index takes the max, halving the length each step; return the single remaining value.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.