MCPcopy Create free account
hub / github.com/VAR-solutions/Algorithms / optimalStrategyOfGame

Function optimalStrategyOfGame

Dynamic Programming/GameStrategy/game.cpp:12–33  ·  view source on GitHub ↗

Returns optimal value possible that a player can collect from an array of coins of size n. Note than n must be even

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls 2

maxFunction · 0.70
minFunction · 0.70

Tested by

no test coverage detected