Six person: Meena, Ritu, Karan, Priya, Vivek, and Lalit
Dates: 5th and 18th
Months: January, March, and April
ATMs Color: Green, Brown, Yellow, Pink, Orange, and White.
- A person visited the white Label ATM on 5th January. Two persons visited in between the persons who visited White and Brown Label ATMs. Karan and Priya visited the ATM in the same month. Karan visited the ATM before Ritu.
| | Case 1 | Case 2 | | |
|---|
| Months | Dates | Persons | Color | Persons | Color |
| January(31 days) | 5 | Karan/Priya | White | | White |
| 18 | Karan/Priya | | | | |
| March(31 days) | 5 | | | Karan/Priya | |
| 18 | | Brown | Karan/Priya | Brown | |
| April(30 days) | 5 | | | | |
| 18 | | | | | |
2. The person visited Pink Label ATM in the month which has 30 days only. Two Persons visited in between Meena and the one who visited the Pink Label ATM. Ritu does not visit Pink Label ATM. Karan visited the ATM before Ritu.
| | Case 1 | Case 2 | | |
|---|
| Months | Dates | Persons | Color | Persons | Color |
| January(31 days) | 5 | Karan/Priya | White | | White |
| 18 | Karan/Priya | | Meena | | |
| March(31 days) | 5 | Meena | | Karan/Priya | |
| 18 | | Brown | Karan/Priya | Brown | |
| April(30 days) | 5 | | | | Pink |
| 18 | | Pink | Ritu | | |
3. Lalit and Vivek visited the ATM on the same date. Priya and Vivek visited the ATM on different dates. The person visited the Green Label ATM just before the Yellow Label ATM.
| | Case 1 | Case 2 | | |
|---|
| Months | Dates | Persons | Color | Persons | Color |
| January(31 days) | 5 | Priya | White | Lalit/Vivek | White |
| 18 | Karan | Green | Meena | Green | |
| March(31 days) | 5 | Meena | Yellow | Karan | Yellow |
| 18 | Lalit/Vivek | Brown | Priya | Brown | |
| April(30 days) | 5 | | | Lalit/Vivek | Pink |
| 18 | Lalit/Vivek | Pink | Ritu | | |
4. Meena does not visit Yellow Label ATM. Lalit does not visit Pink Label ATM. According to the given condition Case 1 is eliminated as in Case 1 Meena visited Yellow Label ATM.
The Final arrangement is:
| Months | Dates | Persons | Color |
|---|
| January(31 days) | 5 | Lalit | White |
| 18 | Meena | Green | |
| March(31 days) | 5 | Karan | Yellow |
| 18 | Priya | Brown | |
| April(30 days) | 5 | Vivek | Pink |
| 18 | Ritu | Orange | |
Except for Ritu, all others visited an ATM in months having 31 days. Ritu does not belong to that group.