Question
Who lives on 10th floor?
Study the following information carefully to answer the given question: Certain numbers of person are living on different floor of same building. P lives on floor number five. Three person lives between P and G. G lives above P. Not more than thirteen floors are there in a building. More than five persons lives between P and L and L does not live on the top floor. X lives immediate above L. Four person lives between R and X. Three persons lives between R and Z. As many persons live below Z is same as lives above M. Two persons live between Z and Y who does not live immediate above or below of R.Solution
P lives on floor number five. Three person lives between P and G. G live above P. Not more than thirteen floors are there in g building. More than five persons lives between P and L and L does not live on the top floor. X lives immediate above L.
Four person lives between R and X. Three persons lives between R and Z. As many as persons lives below Z is same as lives above M. Two persons lives between Z and Y, who does not live immediate above or below of R. 
A priority queue is a special type of queue where each element has a priority. What is the typical time complexity for inserting an element into a prior...
Consider the following Java code:
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class RegexGroup {
...
Spark performs better than Hadoop MapReduce because:
Consider the following Python code snippet:
  def calculate_sum(a, b):
    result = a + b
    return result
...Consider the following code snippet (Java-like):
  class Animal {
    public void makeSound() {
      Syste...
A software developer is designing a banking application where each bank account object should restrict direct access to its balance variable to prevent ...
Bourne-style shells uses which below symbol
Which keyword is used for inheritance in C++?
In the Knuth-Morris-Pratt (KMP) algorithm, the Longest Proper Prefix Suffix (LPS) array lps[] is crucial. When pat[i] and pat[len] match, len is increme...
Complete the Java method to check if an integer array arr is empty.
public class ArrayChecker {
  public boolean isEmpty(int[] arr) {<...