0/1 and unbounded knapsack, with the items used
Levenshtein distance with the DP table and edits
Expected uniform draws until the sum passes t
Expected flips for n heads in a row, fair or biased coin
Expected calibration error, Brier score and log loss
Mean vs median bankroll after n bets, worked out exactly
Is the new model better? Exact McNemar p-value