title: Questionnaire Data Structure
body: <p>I am trying to implement a data structure that would make it easy to build a questionnaire. What I mean is the following:</p>
  
  <p>Let's say the first question is "Which country are you from?" You answer "United States" and thus, the next question is "Which state are you from?" </p>
  
  <p>If you were to answer, say, "China" for the first question, it might ask a different question next. What kind of data structure would I need to implement to do something like this?</p>