Question
If Q is related to Green and N is related to Blue.
Following the similar pattern, P is related to? Study the following information carefully and answer the following questions- Eight persons J,K,L,M,N,O,P and Q live on eight different floors of a building. The ground floor is numbered one and the topmost is numbered eight. Each of them likes a different colours i.e. Black, White, Red, Green, Yellow , Blue, Orange and Brown. Only one person lives between L and the one who likes Black. J lives immediately above O, who lives on an odd numbered floor. The one who likes Orange lives on an even numbered floor but not on floor no. 8. Only two persons live between O and the one who likes Orange. Only one person lives between O and the one who likes Yellow. Neither L nor N lives on floor numbered 1. Only two persons live between J and N. the one who likes yellow does not live on floor numbered 1st . K lives on an even numbered floor and immediately above L. The one who likes Brown lives on an even numbered floor and lives immediately above the person who likes Green. Q lives just below the one who likes Green. L does not like Yellow or Green. Only two person live between the one who likes Blue and the one who likes White. The one who likes Blue does not live on an odd numbered floor. M does not live on an odd numbered floor.Solution
J lives immediately above O and O lives on an odd numbered floor. There are 2 floors between J and N. And N does not live on lowermost floor. (so, we get following possible cases here). Case-1
There are 2 floors between O and one who likes Orange and it is also given that person who likes Orange, does not live on the top most floor. There is only 1 floor between O and yellow. Person who like Yellow does not live on lowermost floor.
K lives on an even numbered floor and immediately above L. And it is also given that L does not like Yellow.
Only 1 floor is between L and Black. One who likes Brown lives on an even numbered floor immediately above the one who likes Green and Q lives immediately below the one who likes Green. It is also given that L does not like Green. (so, case 2(a) and case 4 gets eliminated here).
Only 2 floors are between Blue and White. (so, case 2(b) and case 3 gets eliminated here). One who likes blue lives on an even numbered floor.
M does not live on an odd numbered floor. After filling the remaining data, we get: 
рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рд╢рдмреНрджреЛрдВ рдореЗрдВ рд╕реЗ undertaking рдХрд╛ рд╕рд╣реА рдкрд░реНрдпрд╛рдп рд╣реИ ?
рдХрд╡рд░реНрдЧ рдХрд╛ рдЙрдЪреНрдЪрд╛рд░рдг-рд╕реНрдерд╛рди рд╣реИ ?
рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдкреНрд░рд╢реНрди рдореЗрдВ , рдЪрд╛рд░ рд╡рд┐рдХрд▓реНрдкреЛрдВ рдореЗрдВ рд╕реЗ , рдЙрд╕ рд╡рд┐рдХрд▓реНрдк рдХрд╛ я┐╜...
рдХреМрди-рд╕рд╛ рджреНрд╡рд┐рдЧреБ рд╕рдорд╛рд╕ рд╣реИ?
рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рд╡рд╛рдХреНрдпрд╛рдВрд╢ рдХреЗ рд▓рд┐рдП рд╕рд╛рд░реНрдердХ рд╢рдмреНрдж рдЪреБрдирд┐рдП -
рдЬрд┐рд╕рдХрд╛ рдХреЛ...
'рдкрдВрдЪрд╡рдЯреА' рдореЗрдВ рд╕рдорд╛рд╕ рд╣реИ-
рдлреЛрд░реНрдЯ рд╡рд┐рд▓рд┐рдпрдо рдХреЙрд▓реЗрдЬ рдХреА рд╕реНрдерд╛рдкрдирд╛ рдХрд╣рд╛рдВ рд╣реБрдИ?
рдЦреЗрд▓ рдХреЗ рдорд╛рдзреНрдпрдо рд╕реЗ рд╣рдо рдХреНрдпрд╛ рдХрд░ рд╕рдХрддреЗ рд╣реИрдВ?
рдкреНрд░рд╕реВрди рдХрд╛ рдЕрд░реНрде рд╣реИред┬а
'рдирд┐рд░рд╛рдзрд╛рд░' рд╢рдмреНрдж рдХрд╛ рд╕рд╣реА рд╕рдиреНрдзрд┐рд╡рд┐рдЪреНрдЫреЗрдж рд╣реИ