Oracle Coding Interview Questions: 14 Tagged Problems
14 coding problems tagged Oracle — 3 easy · 11 medium — with solutions in 13 languages. Plus a 2-week study plan by topic.
- Problems: 14
- By difficulty: 3 easy · 11 medium
- Languages: JavaScript, TypeScript, Python, Java, C++, C, C#, Go, Kotlin, Swift, Rust, PHP and Ruby
- Cost: Free on every plan; sign in to run and submit
14 problems the CodeKairo catalogue tags as commonly asked in Oracle's coding rounds — 3 easy and 11 medium, no hard ones — each judged by hidden tests in 13 languages. The most common topics among them are Math (7), Arrays (5) and Strings (3). CodeKairo's Oracle — Aptitude & Verbal mock covers the Oracle aptitude and verbal pattern: a short multiple-choice block of twenty questions on one clock, with a reported cut-off of sixty per cent. The tag is the catalogue's own annotation of where a problem tends to come up — not a list published by Oracle, which CodeKairo is not affiliated with.
Oracle study plan by topic
All 14 problems tagged Oracle over 2 weeks, about 7 h 25 min of solving, grouped by technique in the order they build on each other — Counting, Math, Two Pointers and Sliding Window and 10 more. It ends with the Oracle — Aptitude & Verbal mock.
Week 1: Counting, Math, Two Pointers +9
12 problems on Counting, Math, Two Pointers, Sliding Window, Binary Search, Stack, Matrix, Enumeration, Greedy, Number Theory, Depth-First Search and Union Find, easiest first within each topic.
- Count Substrings Starting and Ending with Given Character Medium
- Count Number of Homogenous Substrings Medium
- Common Elements in Three Sorted Arrays Easy
- Number of Substrings Containing All Three Characters Medium
- Find the Smallest Divisor Given a Threshold Medium
- Clumsy Factorial Medium
- Find Missing and Repeated Values Easy
- Binary Watch Easy
- Determine the Minimum Sum of a k-avoiding Array Medium
- Closest Divisors Medium
- Check Knight Tour Configuration Medium
- Minimum Score of a Path Between Two Cities Medium
Week 2: Dynamic Programming, Binary Indexed Tree
2 problems on Dynamic Programming and Binary Indexed Tree, easiest first within each topic.
Finally: the timed test
Sit the Oracle — Aptitude & Verbal mock under the clock — the coding problems are only one part of the round.
Oracle test patterns
- Oracle — Aptitude & Verbal pattern guide and timed mock
All problems tagged Oracle
Easy (3)
- Binary Watch Bit Manipulation, Backtracking, Enumeration
- Find Missing and Repeated Values Matrix, Hash Table, Math
- Common Elements in Three Sorted Arrays Array, Two Pointers
Medium (11)
- Queries on a Permutation With Key Array, Binary Indexed Tree, Simulation
- Count Number of Ways to Place Houses Math, Dynamic Programming
- Count Number of Homogenous Substrings Math, String
- Count Substrings Starting and Ending with Given Character Math, String, Counting
- Determine the Minimum Sum of a k-avoiding Array Array, Math, Greedy
- Minimum Score of a Path Between Two Cities Graph, Union Find, Depth-First Search
- Check Knight Tour Configuration Array, Matrix, Depth-First Search
- Find the Smallest Divisor Given a Threshold Array, Binary Search
- Number of Substrings Containing All Three Characters String, Hash Table, Sliding Window
- Clumsy Factorial Math, Stack, Simulation
- Closest Divisors Math, Number Theory
Topics Oracle asks most
- Math 7 problems
- Arrays 5 problems
- Strings 3 problems
- Simulation 3 problems
- Hash Table 2 problems
- Matrix 2 problems
- Depth-First Search 2 problems
- Counting 1 problem
- Two Pointers 1 problem
- Sliding Window 1 problem
- Binary Search 1 problem
- Stack 1 problem