Oracle Interview Questions
Master your tech interview with our curated database of real questions from top companies.
Implement an LRU cache
Design and implement an in-memory cache that evicts entries using the Least Recently Used (LRU) policy. The cache should store key–value pairs and sup...
Design structure for first unique login user
You are given an online stream of user login events. Each event is a user ID (e.g., an integer or string) indicating that this user has just logged in...
Solve three DSA problems: trie, window, intervals
1) Design and implement an autocomplete service. Support insert(word) to add a word and suggest(prefix) to return up to five existing words that start...
Design scalable, highly available GenAI serving
System Design: Highly Scalable, Highly Available Generative AI Inference Platform Context Design a production-grade deployment for a generative AI tex...
Parse logs and query by time
Implement a parser that converts raw log lines into structured records with fields {timestamp, level, message}. Build an API to support: (a) insert(lo...
Describe cross-team collaboration
Behavioral & Leadership: Cross‑Team Collaboration (Onsite SWE) You are interviewing onsite for a Software Engineer role. Describe a time you had to co...
Minimize sum with halving operations
You are given an array of non-negative integers nums and an integer k. In one operation, choose any index i and replace nums[i] with ceil(nums[i] / 2)...
Explain your project system design
System Design Walkthrough: Project You Owned Context: In an onsite system design interview for a Software Engineer role, you are asked to walk through...
Describe going beyond your scope
Behavioral & Leadership Prompt: Stepping Beyond Scope You are a Software Engineer interviewing onsite. Provide a concise STAR-style story about a time...
Walk through your resume and projects
Behavioral Prompt: Resume Walkthrough and Project Deep Dive (Software Engineer Onsite) Context You are interviewing for a Software Engineer role in an...
Find shortest subarray meeting target sum
Given an integer array nums (values may be negative) and an integer T, return the length of the shortest non-empty contiguous subarray whose sum is at...
Determine if robot path is bounded
A robot starts at (0, 0) facing North on an infinite grid. It executes a string s consisting of 'G' (move forward 1 unit), 'L' (turn left 90°), and 'R...