S&P Global interview question

Resume Question, some programming