Agoda Interview Question

1st was easy spam detection, 2nd was hard. Solved with partial use cases.