Eight friends - Komal, Ayesha, Aruba, Mary, Ritney, Tanmay, Rohit and Shubham.
Month - January, March, April, June, July, August, October and December.
1) Two people having exams between Ritney and Aruba.
2) Ritney having an exam in one of the months which have less than 31 days.
3) Three people having exams between Aruba and Ayesha.
| Months | Person | Person | Person |
|---|
| Case 1 | Case 2a | Case 2b | |
| January (31) | | Aruba | |
| March (31) | Ayesha | | |
| April (30) | Ritney | | Ayesha |
| June (30) | | Ritney | Ritney |
| July (31) | | Ayesha | |
| August (31) | Aruba | | |
| October (31) | | | Aruba |
| December (31) | | | |
4) Rohit having an exam one of the month which have 30 days. (Rohit have an exam either in April or June. So, Case 2b is invalid.)
5) One person having an exam between Tanmay and Ritney.
-
One person having an exam between Mary and Shubham.
-
Shubham have an exam one of the month before Mary.
| Months | Person | Person |
|---|
| Case 1 | Case 2a | |
| January (31) | Tanmay | Aruba |
| March (31) | Ayesha | Tanmay |
| April (30) | Ritney | Rohit |
| June (30) | Rohit | Ritney |
| July (31) | Shubham | Ayesha |
| August (31) | Aruba | Shubham |
| October (31) | Mary | Komal |
| December (31) | Komal | Mary |
8) Mary having an exam before Komal.
(case 2b is invalid because in case 2b Mary having exam after Komal)
| Months | Person |
|---|
| Case 1 | |
| January (31) | Tanmay |
| March (31) | Ayesha |
| April (30) | Ritney |
| June (30) | Rohit |
| July (31) | Shubham |
| August (31) | Aruba |
| October (31) | Mary |
| December (31) | Komal |
Final Solution
| Months | Person |
|---|
| Case 1 | |
| January (31) | Tanmay |
| March (31) | Ayesha |
| April (30) | Ritney |
| June (30) | Rohit |
| July (31) | Shubham |
| August (31) | Aruba |
| October (31) | Mary |
| December (31) | Komal |
Komal - January → Komal's exam is in December. So, it is false.
Ritney - October → Ritney's exam is in April. So, it is false.
Shubham - March → Shubham's exam is in July. So, it is false.
Ayesha - July → Ayesha's exam is in March. So, it is false
Aruba - August → Aruba's exam is in August. So, it is true.
Hence, the answer is Aruba - August.