Question
Who sits immediate right of the person, who sits 3rd to
the right of S? Answer the questions based on the information given below. Ten persons P, Q, R, S, T, U, V, W, X and Y sit around a circular table such that four of them face outside while others face towards the centre. No two persons with names starting with consecutive alphabets are immediate neighbors of each other. T sits 4th to the left of Q, who faces outside. U sits immediate left of R, who faces towards the centre. U and Y face same direction as X. X doesn’t face outside. Two persons sit between X and P, who doesn’t sit 2nd to the left of T. S and V sits immediate left of each other. X sits 3rd to the left of R. S and T face same direction. Y doesn’t sit adjacent to R. V and W face same direction as P.Solution
T sits 4th to the left of Q, who faces outside. U sits immediate left of R, who faces towards the centre. X sits 3rd to the left of R. So, T sits either 2nd to the right of R or 4th to the left of R. Also, X sits either immediate right of Q or 5th to the left of Q. Case I: T sits 2nd to the right of R:
Case II: T sits 4th to the left of R:
Two persons sit between X and P, who doesn’t sit 2nd to the left of T. S and V sits immediate left of each other, this is not possible in case II, so case II is rejected. S and T face same direction. So, S and T face towards the centre and V faces outside.
Y doesn’t sit adjacent to R. V and W face same direction as P. U and Y face same direction as X. X doesn’t face outside. So, W faces outside and sits adjacent to R and Y sits immediate right of T. Also, U and Y face towards the centre and P face outside. The final seating arrangement is given below: 
What does the term "code optimization" refer to in the context of software development?
Mutex locks can be used in CPU scheduling.
Which of the following members of a superclass are NOT inherited by its subclass?
Which keyword is used in Java to indicate that a method in a subclass is intended to override a method in its superclass?
A system call is typically implemented as a(n):
State true or false
This scheduling algorithm is not ideal for time sharing systems.
Consider the following Java code snippet:
  import java.util.PriorityQueue;
  public class HeapQuestion9 {
    publ...
A hash map (or dictionary) implemented with separate chaining is exhibiting very poor performance, even with a seemingly good hash function. Operations ...
Which algorithm divides the input array into two halves, sorts each half, and then merges the sorted halves?
In object-oriented programming, when defining an interface method, which of the following statements is true regarding method parameters?