S&P Global interview question

Technical