Oracle Intermediate Coding Interview Questions
111 intermediate coding problems are tagged as asked at Oracle in interviews and online assessments reported by candidates. By difficulty they split into 0 basic, 111 intermediate and 0 advanced. The topics they most often combine with are Array, String, Math, Sorting.
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
- Maximum Subarray (Intermediate)
- Longest Substring Without Repeats (Intermediate)
- Product of Array Except Self (Intermediate)
- Rotate Array (Intermediate)
- House Robber (Intermediate)
- Coin Change (Intermediate)
- Kth Largest Element (Intermediate)
- Minimum Size Subarray Sum (Intermediate)
- Longest Consecutive Sequence (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Container With Most Water (Intermediate)
- Decode Ways (Intermediate)
- Longest Palindromic Substring (Intermediate)
- Happy Number (Intermediate)
- Daily Temperatures (Intermediate)
- Count and Say (Intermediate)
- Integer to Roman (Intermediate)
- Roman to Integer (Intermediate)
- Counting Bits (Intermediate)
- Reverse Integer (Intermediate)
- Minimum in a Rotated Sorted Array (Intermediate)
- Greatest Common Divisor of Strings (Intermediate)
- Merge Intervals (Intermediate)
- Insert an Interval (Intermediate)
- Last Stone Weight (Intermediate)
- Remove Invalid Parentheses (Intermediate)
- Permutation Inside a String (Intermediate)
- Subarrays With Product Less Than K (Intermediate)
- Longest Mountain Subarray (Intermediate)
- Zigzag Conversion (Intermediate)
- Remove K Digits to Get the Smallest Number (Intermediate)
- Count Palindromic Substrings (Intermediate)
- Longest Substring With At Most K Letters (Intermediate)
- Maximum Events Attended (Intermediate)
- Minimum Knight Moves (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)
- Tree Vertical Traversal (Intermediate)
- Weighted Job Scheduling (Intermediate)
- LFU Cache Operations (Intermediate)
- Hit Counter (Intermediate)
- Text Justification (Intermediate)
- Remove Nth Node From End (Intermediate)
- Swap Nodes in Pairs (Intermediate)
- Validate Binary Search Tree (Intermediate)
- Kth Smallest Value in a BST (Intermediate)
- Binary Tree Right Side View (Intermediate)
- Zigzag Level Order Traversal (Intermediate)
- Lowest Common Ancestor of Two Values (Intermediate)
- Merge In Between Linked Lists (Intermediate)
- Delete Node in a BST (Intermediate)
- Find Leaves of Binary Tree (Intermediate)
- Rotting Oranges (Intermediate)
- Surrounded Regions (Intermediate)
- Course Schedule Order (Intermediate)
- Redundant Connection (Intermediate)
- Open the Lock (Intermediate)
- Number of Closed Islands (Intermediate)
- Maximal Square (Intermediate)
- Count Ways to Build Good Strings (Intermediate)
- Minimum Sideway Jumps (Intermediate)
- Multiply Strings (Intermediate)
- Word Search (Intermediate)
- Validate IP Address (Intermediate)
- Evaluate Reverse Polish Notation (Intermediate)
- Basic Calculator II (Intermediate)
- Simplify Path (Intermediate)
- Asteroid Collision (Intermediate)
- Reverse Substrings Between Parentheses (Intermediate)
- Design Circular Queue (Intermediate)
- K Closest Points to Origin (Intermediate)
- Task Scheduler (Intermediate)
- Reorganize String (Intermediate)
- Find K Pairs With Smallest Sums (Intermediate)
- Jump Game II (Intermediate)
Related
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.