S&P Global interview question

Primarily Implementation and Logics focused