259.Numbers Containing a Zero
★★★combinatoricsAkuna Capital
An integer is chosen uniformly at random from 1 to 10,000 inclusive. What is the probability that its decimal representation contains the digit 0 at least once?
Sign in to submit an answer and track it toward your stats.
Sign inHint
Count the numbers with no zero, grouped by how many digits they have. Leading-zero padding does not work here, because a padded zero is not really present.
Want timed drills, mental math, and a market-making game too? Try the full practice suite →