A King wants to send the diamond ring to his girlfriend securely. He got multiple locks and their corresponding keys. His girlfriend does not have any keys to these locks and if he sends the key without a lock, the key can be copied in the way. How can King send the ring to his girlfriend securely?
There is an ancient kingdom where every married woman keeps information regarding the fidelity of other men. However, what they don't know is the fidelity of their own husbands. Also, there is an ancient belief that they don't tell each other about the fidelity of their husbands.
On a certain day, the queen of the kingdom declares that she has identified at least one unfaithful man in the kingdom. She allows the wives to identify and gives them authority to kill their husbands if they are unfaithful at midnight.
A pet show was happening in my locality. I went down along with my kids. In that show, I noticed that all except two of the entries were cats. All except two were dogs and all except two were Monkeys.
Can you find out how many of each animals were present in that pet show?