Oracle OCI | IC3 | Pre-screening round
Summary
I completed a pre-screening round for an IC3 role at Oracle OCI, which focused on a data structures and algorithm problem involving processing a stock stream. I am currently awaiting the outcome, as the portal status remains 'Interview and Selection'.
Full Experience
In mid-September, I participated in a pre-screening round for an IC3 position at Oracle OCI. The interview primarily revolved around a single, complex data structures and algorithms problem. I am currently awaiting further communication regarding my application, and the status on the recruitment portal remains 'Interview and Selection'.
Interview Questions (1)
You are given a stream of Stocks with data points like (Stock_Name, Price, Time). Implement a function that will return the top K most expensive stocks observed within the last T minutes. Both K and T are not fixed and can vary with each function call. A key constraint is that if the same stock appears multiple times in the stream, its old price is invalidated, and only the latest price should be considered for the top K calculation.