Expedia (IT) Interview Question

Two sum and Why Expedia