Question
How many person(s) live(s) between Esha and
Gini? Study the following information carefully and answer the question given below: Seven friends namely – Anmol, Bhura, Charul, Dhanu, Esha, Fareen and Gini are living in a building of seven floors, ground floor numbered 1, first floor numbered 2 and so on till the top-most floor which is numbered 7. Each person lives on a single floor. Total number of members in their family including themselves is – one, six, one, two, four, three and two but not necessarily in the same order. Gini’s family has 1 more person than Anmol’s family. Charul does not live on 6th floor. Bhura with his family lives exactly below one of the couples but above the two people who live alone. There is only one floor between the two people who live alone. There are three floors between Charul and Gini. Esha lives on 3rd floor with his wife only. There are total 4 persons in Bhura’s family including him.Solution
Charul does not live on 6 th floor. Esha lives on 3 rd floor with his wife only. Bhura with his family lives exactly below one of the couples but above the two people who live alone. There is only one floor between the two people who live alone. There are total 4 persons in Bhura’s family including him. Bhura with his family lives exactly below one of the couples but above the two people who live alone. There is only one floor between the two people who live alone. There are total 4 persons in Bhura’s family including him. Two cases arise here:
There are three floors between Charul and Gini Charul cannot sit on sixth floor and Esha is already on third floor so Gini must be living on first floor and Charul on fifth floor. Hence, Case 1 fails here,
Gini’s family has 1 more person than Anmol’s family. Therefore, Gini’s family must be having 3 persons and hence, Anmol has total 2 persons in his family. Only left person, Charul must be having 6 persons.
Abstraction in OOP primarily focuses on:
Predict the output
list1 = ['physics', 'chemistry', 1997, 2000]
list2 = [1, 2, 3, 4, 5, 6, 7 ]
print "list1[0]: ", list1[0]
Consider the following statement regarding DIAC.
Statement (1): DIAC is unidirectional device.
Statement (2): DIAC can be used for trigger...
What is the typical time complexity for removing the highest-priority element (using poll()) from a java.util.PriorityQueue with N elements?
 �...
___________________ is the amount of time taken to fulfill the request by the process. It can be calculated by taking the difference between the complet...
Which algorithm divides the input array into two halves, sorts each half, and then merges the sorted halves?
What are the 3v’s of Big Data?
Which of these is an application of AI in healthcare?
In a switch statement (e.g., C++, Java), what happens if a break statement is omitted from a case block?
What is the name of the challenge in email forensics, when criminals used to present an email as someone else’s and in this case the machine will rece...