Problem of the Day
A new programming or logic puzzle every Mon-Fri

Fresh Eggs

You have a carton of 100 eggs. Some are fresh and other are rotten. One fact is that there is at least one fresh egg in that container. It is also true that if you pick two eggs randomly from the carton, at least one of them will be rotten. How many fresh eggs are in the carton?

Enjoy your weekend!



  • Kevin Benton - 8 years, 1 month ago

    1 is the only way to satisfy the random rotten contract :)

    reply permalink

  • beverku - 8 years, 1 month ago

    Agree, one.

    reply permalink

  • k4rtik - 8 years, 1 month ago

    1 fresh, 99 rotten. Or the random pick statement cannot be always true.

    reply permalink

Content curated by @MaxBurstein