I'd like to learn when to use a dictionary vs an array
If I have two pieces of data such as a question and an answer where many questions can have the same answer, would it be better to organize the data using an array or a dictionary?
I currently think an array is the better option because for lack of a better reason, I don't quite understand dictionaries. Could someone give some examples of plausible situations for using dictionaries to help me better understand them?