S&P Global Market Intelligence Interview Question: There was one question on des... | Glassdoor

Interview Question

Intern Interview New York, NY

There was one question on designing a class/set of classes

  which help to find the stock quote for a particular company. A method was provided which takes a sticker(String) as an input and gives the stock value(double). But this method was too expensive to call, so how would you optimize your solution(make the minimal number of calls to this method). Also the stock value returned should not be more than an hour old. There were subparts to this question, on caching the values and multithreading.

Add Answers or Comments

To comment on this, Sign In or Sign Up.