Lemon Flavored:
There are 24 strawberry-flavored candies and 18 orange-flavored candies in the jar.
To ensure getting at least one lemon-flavored candy, Sarah could pick all 24 strawberry-flavored candies and all 18 orange-flavored candies first (worst-case scenario).
This means she has picked
24
+
18
=
42
24+18=42 candies, none of which are lemon-flavored.
If she picks 1 more candy after these 42, the 43rd candy must be lemon-flavored, as all non-lemon candies have already been picked.
Minimum number of candies Sarah must pick to ensure at least one lemon-flavored candy: 43.
Strawberry Flavored:
There are 18 lemon-flavored candies and 18 orange-flavored candies in the jar.
To ensure getting at least one strawberry-flavored candy, Sarah could pick all 18 lemon-flavored candies and all 18 orange-flavored candies first (worst-case scenario).
This means she has picked
18
+
18
=
36
18+18=36 candies, none of which are strawberry-flavored.
If she picks 1 more candy after these 36, the 37th candy must be strawberry-flavored, as all non-strawberry candies have already been picked.
Minimum number of candies Sarah must pick to ensure at least one strawberry-flavored candy: 37.
Final Selections:
Lemon Flavored: 43.
Strawberry Flavored: 37.