Expedia Group Interview Question

Some questions were difficult