Skip to content

AI & ML · Probability for ML

Counting & combinatorics

78 problems in this skill, each with a solver-verified answer key. Answers are checked the moment you submit — with a hint if you want one and a worked solution afterwards.

What the problems look like

A few statements from this skill. Answers, hints and worked solutions live in the practice session.

  1. Warm-up

    A dataset has 77 candidate features. How many distinct subsets of exactly 33 features can you select for a model, if order does not matter? That is, compute (nr)\dbinom{n}{r} for n=7n = 7, r=3r = 3.

  2. Warm-up

    A dataset has 88 candidate features. How many distinct subsets of exactly 55 features can you select for a model, if order does not matter? That is, compute (nr)\dbinom{n}{r} for n=8n = 8, r=5r = 5.

  3. Warm-up

    A dataset has 1111 candidate features. How many distinct subsets of exactly 22 features can you select for a model, if order does not matter? That is, compute (nr)\dbinom{n}{r} for n=11n = 11, r=2r = 2.

Problems shown under their original terms: Generated (template, solver-computed).

Practice this free, right now

Unlimited math practice is on the free plan — no card, no trial clock.

See every Probability for ML skill for ai & ml