data structure

can anyone suggest me data structure that is stored in pair and can be accessed with O(1)?
Topic archived. No new replies allowed.