Question
A box contains only three colors of balls- red, green
and blue. What is the minimum number of balls that should be picked from the box to ensure that at least 2 red balls or at least 4 green balls or at least 5 blue balls are picked?Solution
If we pick at least 1 red ball, 3 green balls and 4 blue balls from the box, the total number of balls picked from the box will be 8. If one more ball is picked from the box, irrespective of what it is, it can be said that at least 2 red balls or at least 4 green balls or at least 5 blue balls have been picked from the basket. Hence, required number of balls = 8 + 1 = 9
What are the different modes of fiber optic communication?
What is the primary goal of the Matrix Chain Multiplication problem in dynamic programming?
Which of the following statement is INCORRECT related to mysql_list_tables() function ?
Average waiting time of all process?
What does the Hamming distance measure in the context of information theory and coding?
What does a star schema consist of?
Which involve two factor authentication
What is a primary advantage of using virtual machines in a computing environment?
The is attribute in custom elements is used for:
Which evaluation metric is commonly used in machine translation?