Pergunta de entrevista da empresa Google

Asked an array question on ordered pairs which was of leetcode medium to hard level.