Expedia Group interview question

Two Sum with distinct pairs