Expedia (IT) interview question

Two sum and Why Expedia