Question
How many boxes are kept between box H and the box which
contains mango? Study the following information carefully and answer the questions given below: Eight boxes A, B, C, D, E, F, G, and H are placed one above the other but not necessarily in the same order. These boxes contain different items lily, jasmine, apple, guava, marigold, grapes, mango, daisy but not necessarily in the same order. There are two boxes between Box A and the box which contains mango. Box D is just above the box which contains jasmine. Two boxes are between boxes C and B, which is below box C. Neither box C nor the box which contains lily in bottom four. Box E contains marigold but is not the bottommost. Box B does not contain apple or daisy. Box C is just above the box which contains guava. The bottommost box does not contain apple or jasmine. Three boxes are between the boxes which contains lily and mango. Box D is below Box B but not just below. Box B does not contain mango. Three boxes are kept between box F and the box which contains lily. Not more than two boxes are kept between Box G and H, which is below box G.Solution
There are two boxes between Box A and the box which contains mango. Three boxes are between the boxes which contains lily and mango. The box which contains lily is not in bottom four. Case1- box A is above box which contains mango and Case2- box A is below box which contains mango - ┬а ┬а Case-1
Two boxes are between boxes C and B, which is below box C. Neither box C nor the box which contains lily in bottom four. Box B does not contain mango. Box C is just above the box which contains guava. We get further 2 possibilities in both the cases.
Box D is below Box B but not just below. Case1 (b) and Case2 (b) gets eliminated.
Box D is just above the box which contains jasmine. The bottommost box does not contain jasmine. Box E contains marigold but is not the bottommost. Box B does not contain apple or daisy. The bottommost box does not contain apple. Three boxes are kept between box F and the box which contains lily.
Case-2A
Not more than two boxes are kept between Box G and H, which is below box G. So, case2 (a) gets eliminated. The final arrangement is: 
рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдкреНрд░рд╢реНрдиреЛрдВ рдореЗрдВ рджрд┐рдпреЗ рдЧрдпреЗ рдкрд╛рдВрдЪ рд╡рд┐рдХрд▓реНрдкреЛрдВ рдореЗрдВ рд╕реЗ рд╢реБя┐╜...
рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рд╡рд╛рдХреНрдп рдореЗрдВ рд╕реЗ рдЧрд▓рдд рд╡рд░реНрддрдиреА рдЬреНрдЮрд╛рдд рдХреАрдЬрд┐рдПред
рд╡рд┐рджреНрдп...
рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рд╡рд╛рдХреНрдп рдореЗрдВ рдХреБрдЫ рдЕрдХреНрд╖рд░/рд╢рдмреНрдж рдореЛрдЯреЗ рдЕрдХреНрд╖рд░реЛрдВ рдореЗрдВ рджрд░реНя┐╜...
рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдкреНрд░рддреНрдпреЗрдХ рдкреНрд░рд╢реНрди рдХреЛ рдЪрд╛рд░ рднрд╛рдЧреЛрдВ рдореЗрдВ рдмрд╛рдБрдЯрд╛ рдЧрдпрд╛ рд╣реИя┐╜...
рдЖрдк рдЕрдкрд░рд╛рдзреА рдХреЗ рдкреНрд░рддрд┐рдХреВрд▓ (a ) / рдЧрд╡рд╛рд╣реА рджреЗрдВ рдХреНрдпреЛрдВрдХрд┐ (b ) / рдЙрд╕рдиреЗ рджрдВрдб...
рдиреАрдЪреЗ рджрд┐рдпрд╛ рдЧрдпрд╛ рд╡рд╛рдХреНрдп рдЪрд╛рд░ рднрд╛рдЧреЛрдВ рдореЗрдВ рдмрд╛рдБрдЯрд╛ рдЧрдпрд╛ рд╣реИ ( A), (B), (C), рдФрд░ ( D) я┐╜...
рдиреАрдЪреЗ рджрд┐рдпрд╛ рдЧрдпрд╛ рд╡рд╛рдХреНрдп рдЪрд╛рд░ рднрд╛рдЧреЛрдВ рдореЗрдВ рдмрд╛рдБрдЯрд╛ рдЧрдпрд╛ рд╣реИ ( A), (B), (C), рдФрд░ ( D) я┐╜...
рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдкреНрд░рддреНрдпреЗрдХ рдкреНрд░рд╢реНрди рдХреЛ рдЪрд╛рд░ рднрд╛рдЧреЛрдВ рдореЗрдВ рдмрд╛рдВрдЯрд╛ рдЧрдпрд╛ рд╣реИя┐╜...
рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдкреНрд░рд╢реНрдиреЛрдВ рдореЗрдВ рджрд┐рдпреЗ рдЧрдпреЗ рдкрд╛рдВрдЪ рд╡рд┐рдХрд▓реНрдкреЛрдВ рдореЗрдВ рд╕реЗ рд╢реБя┐╜...
рдирд┐рдореНрди рдореЗрдВ рд╕реЗ рд╢реБрджреНрдз рд╢рдмреНрдж рд╣реИ -