Seven persons- A, B, C, D, E, F and G visited mall on on different days of the week starting from Monday to Sunday but not necessarily in the same order.
Two persons visited between B and F.
B visited before Wednesday.
| Case 1 | Case 2 |
Day | Person | Person |
Monday | B | |
Tuesday | | B |
Wednesday | | |
Thursday | F | |
Friday | | F |
Saturday | | |
Sunday | | |
G visited immediately after E.
E visited before F and after A.
Thus, Case 1 gets cancelled.
| Case 2 |
Day | Person |
Monday | A |
Tuesday | B |
Wednesday | E |
Thursday | G |
Friday | F |
Saturday | |
Sunday | |
C does not visited on Sunday.
Thus, C must visited on Saturday.
| Case 2 |
Day | Person |
Monday | A |
Tuesday | B |
Wednesday | E |
Thursday | G |
Friday | F |
Saturday | C |
Sunday | |
Now, only D is remaining.
Day | Person |
Monday | A |
Tuesday | B |
Wednesday | E |
Thursday | G |
Friday | F |
Saturday | C |
Sunday | D |
This is the final arrangement.
Except EC, in all other pair first person visited the mall immediately before the second person.