Question
How many persons are sitting around the circular
table? Study the following information carefully and answer the below questions A certain number of persons are sitting around the circular table facing the center. R sits second to the left of P. Only two persons are sitting between P and N. Only one person sits between N and M. M does not sit adjacent to P. The number of persons sits between P and M is the same as the number of persons sit between P and Q. The number of persons sits between R and N is one less than the number of persons sits between Q and M, when counted to the right of both R and M respectively. M sits exactly in the middle of L and N. O sits second to the right of L.Solution
We have, R sits second to the left of P. Â Only two persons are sitting between P and N. From the above condition, there are two possibilities. Again we have, Â Only one person sits between N and M. Â M does not sit adjacent to P. Â The number of persons sits between P and M is the same as the number of persons sit between P and Q.
Again we have, The number of persons sits between R and N is one less than the number of persons sits between Q and M, when counted to the right of both R and M respectively M sits exactly in the middle of L and N. Â sits second to the right of L. From the above condition, case1 gets eliminated. Case 2 shows the final arrangement.
Which famous sorting algorithm uses the divide-and-conquer strategy?
What is the correct syntax to declare a variable in C?
In SQL, which keyword is used to retrieve data from a database?
A firewall that monitors the state of active connections and makes decisions based on the context of those connections is known as a:
What is the main purpose of the parity bit in error detection?
Which component is responsible for translating virtual addresses to physical addresses?
What is the scope of a variable declared as "static" inside a function?
How can the Banker's algorithm be used to prevent deadlocks?
The java.sql and javax.sql are the primary packages for JDBC 4.0.
In tuple calculus, what does the ∃ symbol represent?