Computer Sciences > Gate 2019 > English Grammer
The police arrested four criminals – P, Q, R and S. The criminals knew each other. They made the following statements:
Assume only one of the arrested four committed the crime and only one of the statements made above is true. Who committed the crime?
P says “Q committed the crime.”
Q says “S committed the crime.”
R says “ I did not do it.”
S says “What Q said about me is false”.
Q says “S committed the crime.”
R says “ I did not do it.”
S says “What Q said about me is false”.
Assume only one of the arrested four committed the crime and only one of the statements made above is true. Who committed the crime?
Explanation
Correct : b
Similar Questions
What is the worst-case time complexity of insertion in an AVL tree?
Which operations on a binary search tree have O(h) complexity?
Compare search complexities of sorted array vs balanced BST.