Oracle Coding Interview Questions: 17 Tagged Problems
17 coding problems tagged Oracle — 3 easy · 13 medium · 1 hard — with solutions in 13 languages. Plus a 2-week study plan by topic.
- Problems: 17
- By difficulty: 3 easy · 13 medium · 1 hard
- 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
17 problems the CodeKairo catalogue tags as commonly asked in Oracle's coding rounds — 3 easy, 13 medium and 1 hard — each judged by hidden tests in 13 languages. The most common topics among them are Math (8), Arrays (6) and Strings (6). 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 17 problems tagged Oracle over 2 weeks, about 9 h 25 min of solving, grouped by technique in the order they build on each other — Counting, Math, Two Pointers and Sliding Window and 11 more. It ends with the Oracle — Aptitude & Verbal mock.
Week 1: Counting, Math, Two Pointers +7
12 problems on Counting, Math, Two Pointers, Sliding Window, Binary Search, Stack, Matrix, Simulation, Enumeration and Greedy, easiest first within each topic.
- Count Substrings Starting and Ending with Given Character Medium
- Count Number of Homogenous Substrings Medium
- Count Number of Ways to Place Houses Medium
- Common Elements in Three Sorted Arrays Easy
- Number of Substrings Containing All Three Characters Medium
- Find the Smallest Divisor Given a Threshold Medium
- Compare Strings by Frequency of the Smallest Character Medium
- Clumsy Factorial Medium
- Find Missing and Repeated Values Easy
- Check Knight Tour Configuration Medium
- Binary Watch Easy
- Determine the Minimum Sum of a k-avoiding Array Medium
Week 2: Recursion, Number Theory, Backtracking +2
5 problems on Recursion, Number Theory, Backtracking, Union Find and Binary Indexed Tree, easiest first within each topic.
- Integer to English Words Hard
- Closest Divisors Medium
- Restore IP Addresses Medium
- Minimum Score of a Path Between Two Cities Medium
- Queries on a Permutation With Key Medium
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
The Oracle interview process, round by round
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 (13)
- Compare Strings by Frequency of the Smallest Character Array, Hash Table, String
- Restore IP Addresses String, Backtracking
- 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
Hard (1)
- Integer to English Words String, Math, Recursion
Topics Oracle asks most
- Math 8 problems
- Arrays 6 problems
- Strings 6 problems
- Hash Table 3 problems
- Simulation 3 problems
- Binary Search 2 problems
- Matrix 2 problems
- Backtracking 2 problems
- Depth-First Search 2 problems
- Counting 1 problem
- Two Pointers 1 problem
- Sliding Window 1 problem