Threecolts interview question

Counting unique URLs based on some logic.