Oracle OCI | Bangalore | 2020 | IC2

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2020-11-25Added By Anonymous
Source: Link

Company: Oracle
Role: IC2
Interview Stage: Onsite
Location: Bangalore
Year: 2020

Original Post Content:

Current Position: SDE-1 at a startup
YOE: 2.8

I am sharing the interview experience for Oracle Cloud Infrastructure.

Round 1

  • This was a pretty straightforward round. The interviewer talked for a couple of minutes about the OCI team, then asked about my introduction.
  • After that, he asked about the LRU cache implementation approach and asked me to write code for it. After the implementation and testing (he tested almost 10-12 cases), he asked me whether the given code for the cache is thread-safe or not.
  • After this, he asked me about one challenging thing I did in my career.
  • Also asked me if I have used any cloud technologies (like AWS, Azure, etc.), and we also talked about how deployment happens in my current company.

Round 2

  • This round was taken from the US, as the team is not present in India, and they are hiring engineers for this team.
  • The interviewer asked me to introduce myself, then he introduced himself and talked a little bit about the team.
  • Asked me two behavioral questions: a project that I think is the most challenging with respect to technical aspects, and also asked what happened when I was not able to meet a deadline.
  • Then he asked me a question: given a list of error strings like the following, give me the top m errors. errorA errorB errorC errorB errorB errorB error C error D errorD errorC errorC if m = 2, then output will be errorB and errorC
  • I first proposed a brute force solution which included sorting, then proposed a max heap solution, coded it, and also dry ran the code, but I was not able to give an O(n) solution.
  • Question link: https://leetcode.com/problems/top-k-frequent-elements/
Comments