Rebellion Research Interview Question for Software Engineer / Developers
- 0of 0 votes
Suppose that you have access to a file which contains the closing price for 10,000 stock tickers on each day over a period of 10 years. Suppose also that you must create a component of a computer program which will be called thousands to hundreds of thousands of times per day on many different days to:- Jack April 08, 2006
(A) Retrieve the closing price associated with a given stock ticker for a given date.
(B) Iterate through all stock tickers that have price information available on a given date. (C) Find the last date before a given date for which a given stock ticker had closing price information available. What data structures would you use to organize this stock information to best satisfy (A), (B) and (C)?
I mentioned BST & Hashtable.
| Report Duplicate | Flag | PURGE
Rebellion Research Software Engineer / Developer Object Oriented Design
Open Chat in New Window