Expedia Group Interview Question

Assign Cookies problem from Leetcode