Question
Who among the following writes the book three persons
before T? Answer the questions based on the information given below. Seven persons P, Q, R, S, T, U and V are writing a book. Each person takes different time to complete the book. The person who writes first is ranked as 1 and the person who writes last is ranked as 7. R writes the book two persons before Q. The rank of neither R nor S is 1. The number of persons, who writes after Q is one more than the number of persons who writes before S. T writes before P. At least two persons write between S and P. V writes after U. Rank of V is not 5. T is neither first ranked neither writes just before V. Atmost two persons write between U and T.Solution
R writes the book two persons before Q. The number of persons, who writes after Q is one more than the number of persons who writes before S. The rank of neither R nor S is 1. There will be three cases: If R‘s rank is 3, then Q’s rank is 5. S’ rank will be 2. If R‘s rank is 2, then Q’s rank is 4. S’ rank will be 3. If R‘s rank is 2, then Q’s rank is 3. S’ rank will be 4.
T writes before P. At least two persons write between S and P. V writes after U. Rank of V is not 5. T is neither first ranked neither writes just before V. Atmost two persons write between U and T. Case 1. If P‘s rank is either 6 or 7, then T’s rank is 4. As atmost two persons write between U and T. So, U’ rank will be 1. V’s rank is either 6 or 7. Case 2. This case will get discarded as we cannot place U and T. Case 3. If P‘s rank is either 6 or 7, then T’s rank is 5. As atmost two persons write between U and T. So, U’ rank will be 2. V’s rank is either 6 or 7. This case will get discarded as T is neither first ranked neither writes just before V.
Final arrangement as shown below: 
Which key is kept secret and known only to the owner in a public key pair?
What will be the output of the code
int main(){
int array[] = {100,200,300};
cout<
}
In which network topology does data travel in only one direction around the loop?
Which logic gate produces an output that is the complement of the input?
SELECTGETDATE();
This query will give
CDMA is a communication technique that allows multiple users to share the same frequency band simultaneously by using unique codes to differentiate the...
B-trees and B+ trees are commonly used for indexing in databases to improve the efficiency of:
How can the Banker's algorithm be used to prevent deadlocks?
Concatenate two strings by using which function?
What consensus mechanism is used by the Bitcoin blockchain?