Oracle Array Coding Interview Questions
77 array coding problems are tagged as asked at Oracle in interviews and online assessments reported by candidates. By difficulty they split into 16 basic, 49 intermediate and 12 advanced. The topics they most often combine with are Hash Table, Sorting, Sliding Window, Greedy.
Reported questions change over time and are not a guarantee of what you will be asked, so use the list to see which patterns Oracle tends to test. For each problem, practise explaining your approach, its time and space cost and the edge cases before you write the code; every problem opens in an editor that runs your code against test cases.
Coding problems
- Two Sum (Basic)
- Contains Duplicate (Basic)
- Best Time to Buy and Sell Stock (Basic)
- Maximum Subarray (Intermediate)
- Product of Array Except Self (Intermediate)
- Move Zeroes (Basic)
- Rotate Array (Intermediate)
- House Robber (Intermediate)
- Coin Change (Intermediate)
- Longest Increasing Subsequence (Advanced)
- Kth Largest Element (Intermediate)
- Majority Element (Basic)
- Missing Number (Basic)
- Two Sum in a Sorted Array (Basic)
- Minimum Size Subarray Sum (Intermediate)
- Longest Consecutive Sequence (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Container With Most Water (Intermediate)
- Trapping Rain Water (Advanced)
- Sort Colors (Basic)
- Largest Rectangle in Histogram (Advanced)
- Daily Temperatures (Intermediate)
- Search in a Rotated Sorted Array (Advanced)
- Minimum in a Rotated Sorted Array (Intermediate)
- Merge Intervals (Intermediate)
- Insert an Interval (Intermediate)
- Candy Distribution (Advanced)
- Last Stone Weight (Intermediate)
- Kth Missing Positive Number (Basic)
- Subarrays With Product Less Than K (Intermediate)
- Longest Mountain Subarray (Intermediate)
- Maximum Events Attended (Intermediate)
- Minimum Edge Reversals Per Node (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Next Permutation (Intermediate)
- Gas Station (Intermediate)
- Container With Most Water (Intermediate)
- Top K Frequent Values (Intermediate)
- Course Schedule Feasible (Intermediate)
- Weighted Job Scheduling (Intermediate)
- LRU Cache Operations (Basic)
- LFU Cache Operations (Intermediate)
- Hit Counter (Intermediate)
- Course Schedule Order (Intermediate)
- Redundant Connection (Intermediate)
- Keys and Rooms (Basic)
- Minimum Sideway Jumps (Intermediate)
- Min Stack Operations (Basic)
- Asteroid Collision (Intermediate)
- Number of Visible People in a Queue (Advanced)
- Design Circular Queue (Intermediate)
- K Closest Points to Origin (Intermediate)
- Find K Pairs With Smallest Sums (Intermediate)
- Jump Game II (Intermediate)
- Minimum Increments to Form Target Array (Advanced)
- Least Unique Integers After K Removals (Intermediate)
- Meeting Rooms (Basic)
- Find All Duplicates in an Array (Intermediate)
- Degree of an Array (Basic)
- 3Sum Triplets (Intermediate)
- Sliding Window Maximum Values (Advanced)
- Find First and Last Position (Intermediate)
- Smallest Divisor Given a Threshold (Intermediate)
- Single Element in a Sorted Array (Intermediate)
- Median of Two Sorted Arrays (Advanced)
- Single Number III (Intermediate)
- Combination Sum (Intermediate)
- Combination Sum II (Intermediate)
- Design HashMap (Basic)
- My Calendar I (Intermediate)
- Collect Coins in a Tree (Advanced)
- Count Ways to Group Overlapping Ranges (Intermediate)
- Find in Mountain Array (Advanced)
- Plates Between Candles (Intermediate)
- Sort Array by Increasing Frequency (Basic)
- Meeting Rooms III (Advanced)
- Running Median of Stream (Intermediate)
Related
- Oracle coding interview questions
- Array problems
- Oracle basic problems
- Oracle intermediate problems
- Oracle advanced problems
- Company interview roadmaps
- All interview guides
Frequently asked questions
How should I use the Oracle problem list?
Start with the basic problems, then the intermediate and advanced ones, and note which topics repeat. Solve each under a timer, then read the explanation.
Are these the exact Oracle interview questions?
They are problems candidates reported being asked. Companies rotate questions, so use them to learn the patterns, not to predict the exact question.