Maximize your total in a two-player game where each turn takes a corner value.
Unlock detailed company stats for this questionUpgrade
A variation of the Optimal Strategy for a Game problem (minimax principle): two players play, and each may only pick a corner value at each turn. Maximize the player's value assuming the opponent plays optimally. A memoization-based solution was implemented.
Format · Uber SDE-2 DSA round.
Community answers
No answers contributed by the community yet.
Related courses

Course

Course
Course
