TCS
Company
10 people meet and shake hands. The maximum number of handshakes possible if there is to be no “cycle” of handshakes is (A cycle of handshakes is a sequence of k people a1, a2, ……, ak (k > 2) such that the pairs {a1, a2}, {a2, a3}, ……, {ak-1, ak}, {ak, a1} shake hands).
a)7 b) 6 c) 9 d) 8
Read Solution (Total 1)
-
- Please note the condition mentioned in question i.e. k>2,
If these persons are not cyclic but they are arranged in a straight bench, then number of methods = 9
and with the condition k>2, the number of methods = 8
- 9 years agoHelpfull: Yes(0) No(1)
TCS Other Question
12 people {a1, a2, …, a12} meet and shake hands in a circular fashion. In other words, there are totally 36 handshakes involving the pairs, {a1, a2}, {a2, a3}, …, {a11, a12}, {a12, a1}. Then size of the smallest set of people such that the rest have shaken hands with at least one person in the set is
a) 12 b) 4 c) 18 d) 11
10 suspects are rounded by the police and questioned about a bank robbery. Only one of them is guilty. The suspects are made to stand in a line and each person declares that the person next to him on his right is guilty. The rightmost person is not questioned. Which of the following possibilities are true?
A. All suspects are lying
B. leftmost suspect is innocent .
C. leftmost suspect is guilty
a) A only b) A or C c) A or B d) B only