Given: There is office of eight companies - Airtel, Amazon, Facebook, Flipkart, Google, HCL, Infosys and Jio on different floor of 8-storey building. The bottommost floor is numbered as 1 while the topmost floor is numbered as 8.
1. The office of HCL is on 7th floor and is not adjacent to office of Airtel.
2. Neither Facebook nor Google has office adjacent to the office of HCL.
3. The office of Airtel is on even numbered floor.
4. The office of Infosys is neither on any even numbered floor nor on any prime numbered floor.
Thus, Infosys is on 1st floor
5. At least two companies have offices above the office of Flipkart.
From 1-5, it is clear that Amazon is at 8th floor.
| Floor | Case I | Case II |
|---|
| Office | Office | |
| 8 | Amazon | Amazon |
| 7 | HCL | HCL |
| 6 | Airtel Infosys Google Facebook | Airtel Infosys Google Facebook |
| 5 | | |
| 4 | Airtel | |
| 3 | | |
| 2 | | Airtel, |
| 1 | Infosys | Infosys |
6. There is one floor between the office of Facebook and Google.
7. The office of Flipkart is two floors above the office of Jio.
Statement 6 and 7 cannot be satisfied in Case I, so it is eliminated.
| Floor | Case II |
|---|
| Office | |
| 8 | Amazon |
| 7 | HCL |
| 6 | Flipkart |
| 5 | Google/Facebook |
| 4 | Jio |
| 3 | Google/Facebook |
| 2 | Airtel |
| 1 | Infosys |
The office of Infosys is on 1st floor.
Hence, the correct answer is "Option 3".