AlgoMaster Logo

New 21 Game

n=8,k=6,maxPts=4
0 / 25
n=8 k=6 maxPts=41012345678k = 6 · stop & win →dp[i] = P(score lands exactly on i); the window sums the scores that can reach i
algomaster.io
Step:New 21 Game: draw 1..4 points until score ≥ 6. Find P(final score ≤ 8).