Question
There are eight persons F, G, H, I, J, K, L and M with
different heights. Who is the third shortest person? Statement I: Â F is shorter than only two persons. J is just shorter than L. G is taller than F. Statement II: K is taller than H. G is shorter than I. J is just taller than K. M is not taller than L. The question given below consists of two statements numbered I, and II given below it. You have to decide whether the data provided in the statements are sufficient to answer the question. Read all the statement and answer the question.Solution
From Statement I alone: F is shorter than two persons. J is just shorter than L. G is taller than F. We get many cases as we cannot fix the places of J and V. Case I: G > __ > F > __ > __ > __ > __ > __ Case II: __ > G > F > __ > __ > __ > __ > __ From Statement II alone: K is taller than H. G is shorter than I. J is just taller than K. M is not taller than L. We get many cases as we cannot fix their positions. J > K > H , I > G and L > M After combining statements I and II, we get: I > G > F > L > J > K > H/M > M/H So, K is the third shortest person. Therefore, data given in both statement I and statement II together are sufficient to answer the question.
Running time T(n) where 'n' is the input size of the recursive algorithm given as : T(n) = c + T(n-1), if n > 1 ; T(n) = d if n < 1. The order of the a...
With what command you can see your user name?
The attributes that do not exist in the physical database
In Go, what is the purpose of a goroutine?
State true/false
Trojan works in background and steal data which is sensitive
What is an identifier in C language?
Frames are related to which layer of OSI model
What is the purpose of the delete operator in C++?
Which of the following best describes a transistor?
Consider a B+-tree in which the maximum number of keys in a node is 5. What is the minimum number of keys in any non-root node?Â