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 6 red balls or at least 8 green balls or at least 9 blue balls are picked?Solution
If we pick at least 5 red balls, 7 green balls and 8 blue balls from the box, the total number of balls picked from the box will be 20. If one more ball is picked from the box, irrespective of what it is, it can be said that at least 6 red balls or at least 8 green balls or at least 9 blue balls have been picked from the basket. Hence, required number of balls = 20 + 1 = 21
Which is used to find similar character/string in SQL?
What are the three main components of a bipolar junction transistor (BJT)?
Which classic dynamic programming problem involves finding the shortest path in a weighted, directed graph?
Which phase involves creating detailed plans, schedules, and resource allocation for the software project?
Â
What is the primary purpose of a router in a computer network?
Select the shortcut for refresh operation
What is the maximum number of unique IP addresses that can be assigned in IPv4?
Which network topology is commonly used in Ethernet local area networks (LANs)?
What is the primary purpose of RAID in a DBMS?
Which protocol is used by IP to guarantee the delivery of packets?