•CODING INTERVIEW QUESTIONS
Oracle Coding Interview Questions (DSA)
50 DSA problems sourced from real Oracle interviews
Oracle Coding Interview Questions
| Problem | Difficulty | Tags |
|---|---|---|
| 4Sum | Medium | ArrayTwo PointersSorting |
| Easy | ArrayHash Table | |
| Hard | Linked ListDivide and ConquerHeap (Priority Queue) | |
| Medium | ArrayBinary Search | |
| Accounts Merge | Medium | ArrayHash TableString |
| Medium | ArrayDepth-First SearchBreadth-First Search | |
| Time Based Key-Value Store | Medium | Hash TableStringBinary Search |
| Minimum Window Substring | Hard | Hash TableStringSliding Window |
| Medium | ArrayHash TableString | |
| Medium | Linked ListMathRecursion | |
| Medium | Hash TableStringSliding Window | |
| Medium | Two PointersStringDynamic Programming | |
| Zigzag Conversion | Medium | String |
| Medium | ArrayTwo PointersGreedy | |
| Longest Common Prefix | Easy | ArrayStringTrie |
| Letter Combinations of a Phone Number | Medium | Hash TableStringBacktracking |
| Medium | ArrayTwo PointersSorting | |
| Easy | Linked ListRecursion | |
| Generate Parentheses | Medium | StringDynamic ProgrammingBacktracking |
| Remove Duplicates from Sorted Array | Easy | ArrayTwo Pointers |
| Find First and Last Position of Element in Sorted Array | Medium | ArrayBinary Search |
| First Missing Positive | Hard | ArrayHash Table |
| Hard | ArrayTwo PointersDynamic Programming | |
| Jump Game II | Medium | ArrayDynamic ProgrammingGreedy |
| Permutations | Medium | ArrayBacktracking |
| Pow(x, n) | Medium | MathRecursion |
| Rotate Image | Medium | ArrayMathMatrix |
| Medium | ArrayDivide and ConquerDynamic Programming | |
| Spiral Matrix | Medium | ArrayMatrixSimulation |
| Jump Game | Medium | ArrayDynamic ProgrammingGreedy |
| Medium | ArraySortingQuicksort | |
| Insert Interval | Medium | Array |
| Set Matrix Zeroes | Medium | ArrayHash TableMatrix |
| Sort Colors | Medium | ArrayTwo PointersSorting |
| Word Search | Medium | ArrayStringBacktracking |
| Search a 2D Matrix | Medium | ArrayBinary SearchMatrix |
| Merge Sorted Array | Easy | ArrayTwo PointersSorting |
| Restore IP Addresses | Medium | StringBacktracking |
| Medium | TreeDepth-First SearchBinary Search Tree | |
| Binary Tree Zigzag Level Order Traversal | Medium | TreeBreadth-First SearchBinary Tree |
| Populating Next Right Pointers in Each Node | Medium | Linked ListTreeDepth-First Search |
| Easy | ArrayDynamic Programming | |
| Medium | ArrayHash TableUnion-Find | |
| Medium | ArrayGreedy | |
| Copy List with Random Pointer | Medium | Hash TableLinked List |
| Word Break II | Hard | ArrayHash TableString |
| Linked List Cycle | Easy | Hash TableLinked ListTwo Pointers |
| Medium | Hash TableLinked ListDesign | |
| Min Stack | Medium | StackDesign |
| Majority Element | Easy | ArrayHash TableDivide and Conquer |
Difficulty Breakdown
Top Data Structures & Patterns
Frequently Asked Questions
What questions does Oracle ask in coding interviews?
Oracle coding interviews focus on Array, Backtracking, Binary Search, Binary Search Tree, and other data structure problems. We compiled 50 questions from real Oracle interviews. The most common topics are Array, Backtracking, Binary Search, Binary Search Tree, Binary Tree. Filter by topic to see what comes up most often.
How many Oracle coding interview questions are there?
InterviewSkool has 50 Oracle coding interview questions: 8 Easy, 37 Medium, and 5 Hard. Most Oracle interviews focus on Medium-difficulty problems, so prioritize those in your prep.
How should I prepare for Oracle coding interviews?
Start with Medium difficulty problems. Group by topic (Array, Tree, DP) to build pattern recognition. Aim to solve 30 to 40 problems before your interview. Then practice under pressure with a mock interview.
Are Oracle coding interview questions free?
Yes. All 50 Oracle coding interview questions are free to browse with no sign-up required. You can filter by difficulty and topic tags. Start a mock interview with a free credit to practice under real pressure.
Practice with a Mock Interview
Simulate real Oracle interview pressure with our AI interviewer.
Start Mock Interview →