Tripadvisor Interview Question

A/B test question with OOP design.