Question
Eight persons D, E, F, G, H, I, J and K standing in a
queue according to their height. D is fourth tallest person. J is taller than D. J is two persons taller than K. G is taller than both E and H. F is taller than G. H is two persons shorter than I. The number of persons taller than I is more than the number of shorter than G. How many persons are shorter than F?Solution
D is fourth tallest person. J is taller than D. J is two persons taller than K. J > _____ > K > D > _____ > ______ > _____ > _____ ….. (I) _____ > _____ > J > D > K > ______ > _____ > _____ ….. (I)  G is taller than both E and H. F is taller than G. H is two persons shorter than I. The number of persons taller than I is more than the number of shorter than G. Case 2 will get discarded. J > F > K > D > G > I > E > H ….. (I) _____ > _____ > J > D > K > I > _____ > H ….. (I) Therefore, the final arrangement is as follow: J(Tallest) > F > K > D > G > I > E > H(Shortest) Six persons are shorter than F.
‘/?’ is used for what in C++
What is a "smart contract" in the context of blockchain?
In the software development life cycle, what is the phase where the actual code is written?
Which scheduling policy uses priority levels to determine the order of execution?
Which of the following is a passive electronic component used in analog circuits?
 Which number system is commonly used in mathematics and everyday life?
Kirchhoff's Current Law (KCL) is based on the principle of:
Node.js is built on which JavaScript engine?
Which of the following is NOT an example of a common cybersecurity threat?
Basic syntax to create a bar-chart in R is