Counting What You Don't Want

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • medium
  • Pro

How many four-digit PINs, using any digits from nought to nine, have at least one digit repeated? Explain why it's easier to count the PINs you don't want and take them away.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →