S&P Global Interview Question

a problem and how you solved it