AI InterviewSearch…Search problems, topics, or pages…Ctrl KGet started
Harddigits

~90s

Three-digit numbers from 0 to 5

How many three-digit numbers with distinct digits can be formed using the digits 0, 1, 2, 3, 4, 5?

Show the answer and the worked solution

Correct answer: B.

100

Worked solution

  1. Hundreds digit: 5 choices (not 0).
  2. Tens digit: 5 remaining (0 is now allowed).
  3. Units digit: 4 remaining.
  4. Total = 5 × 5 × 4 = 100.

Answer: 100.

The idea

Fill the most constrained position first — here the leading digit, which excludes zero. Ignoring that restriction gives 120, which is offered.

Shortcut. Count all ordered picks, 6 × 5 × 4 = 120, then remove those led by 0: 0 leaves 5 × 4 = 20. 120 − 20 = 100.

Common trap. "120" — treating all six digits alike, 6 × 5 × 4, and so counting strings like 012 that are really two-digit numbers.

Permutations & Combinations

15 of 35

Level

Hard

Target time

~90s

Three-digit numbers from 0 to 5 — Aptitude Question

Three-digit numbers from 0 to 5: How many three-digit numbers with distinct digits can be formed using the digits… Answer and worked solution on CodeKairo.

Question

How many three-digit numbers with distinct digits can be formed using the digits 0, 1, 2, 3, 4, 5?

Options

  1. 60
  2. 100
  3. 120
  4. 180
Show the answer and the worked solution

Correct answer: B. 100

Worked solution

  1. Hundreds digit: 5 choices (not 0).
  2. Tens digit: 5 remaining (0 is now allowed).
  3. Units digit: 4 remaining.
  4. Total = 5 × 5 × 4 = 100.

Answer: 100.

The idea

Fill the most constrained position first — here the leading digit, which excludes zero. Ignoring that restriction gives 120, which is offered.

Shortcut. Count all ordered picks, 6 × 5 × 4 = 120, then remove those led by 0: 0 leaves 5 × 4 = 20. 120 − 20 = 100.

Common trap. "120" — treating all six digits alike, 6 × 5 × 4, and so counting strings like 012 that are really two-digit numbers.

All Permutations & Combinations questions · placement mock tests