← Oracle roles

Interview question tracker

Oracle Coding Interview Questions — All time

Practice 331 coding questions from Oracle company-tagged LeetCode lists across all available reporting periods. Explore reported interview questions and track your progress.

Company-wide data from Fahad7177-jeh/leetcode-company-wise-questions; see its AGPL-3.0 license. All-time questions also use dataengineervishal/leetcode-companywise-questions (MIT license).

Reporting periods reflect source data, not verified interview dates. Questions can recur; inclusion does not guarantee they will appear in your interview.

Updated weekly · Latest source check: ⓘLatest successful check of the sources used by this company. A check does not necessarily mean the questions changed.

One question at a time.

Top questions 331

DoneQuestionLeetCode
LRU CacheSolve
Longest Substring Without Repeating CharactersSolve
Number of IslandsSolve
Two SumSolve
Find Median from Data StreamSolve
Group AnagramsSolve
Longest Palindromic SubstringSolve
Meeting Rooms IISolve
Merge IntervalsSolve
Merge k Sorted ListsSolve
Search in Rotated Sorted ArraySolve
Sliding Window MaximumSolve
Spiral MatrixSolve
Top K Frequent ElementsSolve
Valid ParenthesesSolve
3SumSolve
Add Two NumbersSolve
All Ancestors of a Node in a Directed Acyclic GraphSolve
Asteroid CollisionSolve
Best Time to Buy and Sell StockSolve
Binary Tree Maximum Path SumSolve
Binary Tree Right Side ViewSolve
Container With Most WaterSolve
Contiguous ArraySolve
Count Distinct Numbers on BoardSolve
Count Pairs Of Similar StringsSolve
Count the Number of Houses at a Certain Distance ISolve
Count the Number of Houses at a Certain Distance IISolve
Count Ways To Build Good StringsSolve
Count Ways to Group Overlapping RangesSolve
Course Schedule IISolve
Decode StringSolve
Delete Node in a BSTSolve
Design Authentication ManagerSolve
Find Valid Pair of Adjacent Digits in StringSolve
First Missing PositiveSolve
Generate ParenthesesSolve
HTML Entity ParserSolve
LFU CacheSolve
Logger Rate LimiterSolve
Longest Common PrefixSolve
Longest Consecutive SequenceSolve
Longest Increasing SubsequenceSolve
Lowest Common Ancestor of a Binary TreeSolve
Lucky Numbers in a MatrixSolve
Maximize Value of Function in a Ball Passing GameSolve
Maximum SubarraySolve
Merge Two Sorted ListsSolve
Minimize Length of Array Using OperationsSolve
Minimum Absolute DifferenceSolve
Minimum One Bit Operations to Make Integers ZeroSolve
Pairs of Songs With Total Durations Divisible by 60Solve
Remove All Adjacent Duplicates in String IISolve
Reverse Linked ListSolve
Roman to IntegerSolve
Rotting OrangesSolve
Top K Frequent WordsSolve
Trapping Rain WaterSolve
Valid AnagramSolve
Binary Tree Level Order TraversalSolve
Binary Tree Zigzag Level Order TraversalSolve
Capacity To Ship Packages Within D DaysSolve
Coin ChangeSolve
Combination SumSolve
Combination Sum IISolve
Copy List with Random PointerSolve
Count the Number of Infection SequencesSolve
Course ScheduleSolve
Degree of an ArraySolve
Delete Node in a Linked ListSolve
Design HashMapSolve
Design In-Memory File SystemSolve
Find First and Last Position of Element in Sorted ArraySolve
Gas StationSolve
Insert Delete GetRandom O(1)Solve
Integer to RomanSolve
Isomorphic StringsSolve
Koko Eating BananasSolve
Kth Largest Element in an ArraySolve
Kth Smallest Element in a BSTSolve
Largest NumberSolve
Letter Combinations of a Phone NumberSolve
Longest Valid ParenthesesSolve
Maximum Number of Events That Can Be AttendedSolve
Maximum Profit From Trading StocksSolve
Median of Two Sorted ArraysSolve
Meeting RoomsSolve
Min StackSolve
Minimum Size Subarray SumSolve
Move ZeroesSolve
N-QueensSolve
Number of Distinct IslandsSolve
Palindromic SubstringsSolve
PermutationsSolve
Pour WaterSolve
Pow(x, n)Solve
Remove Duplicates from Sorted ArraySolve
Reorganize StringSolve
Restore IP AddressesSolve
Reverse Vowels of a StringSolve
Rotate ImageSolve
Search a 2D MatrixSolve
Search a 2D Matrix IISolve
Search Suggestions SystemSolve
Set Matrix ZeroesSolve
Simplify PathSolve
Sort ColorsSolve
String CompressionSolve
Subarray Sum Equals KSolve
Task SchedulerSolve
Unique Binary Search TreesSolve
Validate Binary Search TreeSolve
Vertical Order Traversal of a Binary TreeSolve
Word Break IISolve
Word SearchSolve
Zigzag ConversionSolve
Add StringsSolve
Alien DictionarySolve
Backspace String CompareSolve
Basic CalculatorSolve
Basic Calculator IISolve
Binary Tree CamerasSolve
Break a PalindromeSolve
Calculate Amount Paid in TaxesSolve
Clone GraphSolve
Closest Binary Search Tree ValueSolve
Consecutive Numbers SumSolve
Contains DuplicateSolve
Count Binary SubstringsSolve
Count Servers that CommunicateSolve
Count Vowel Substrings of a StringSolve
Daily TemperaturesSolve
Decode WaysSolve
Design Circular QueueSolve
Diagonal TraverseSolve
Diameter of Binary TreeSolve
Distinct SubsequencesSolve
Divide Two IntegersSolve
Find Peak ElementSolve
Find the Duplicate NumberSolve
Find the Smallest Divisor Given a ThresholdSolve
Find the Winner of the Circular GameSolve
First Unique Character in a StringSolve
Fizz BuzzSolve
Flatten Binary Tree to Linked ListSolve
House RobberSolve
Implement Trie (Prefix Tree)Solve
Insert IntervalSolve
Integer to English WordsSolve
Invert Binary TreeSolve
Island PerimeterSolve
Jump GameSolve
Jump Game IISolve
K Closest Points to OriginSolve
Keys and RoomsSolve
Kill ProcessSolve
Kth Smallest Element in a Sorted MatrixSolve
Last Stone WeightSolve
Linked List CycleSolve
Longest Common SubsequenceSolve
Longest Mountain in ArraySolve
Longest PalindromeSolve
Longest Substring Of All Vowels in OrderSolve
Majority ElementSolve
Make Array Non-decreasing or Non-increasingSolve
Max Consecutive Ones IIISolve
Maximal SquareSolve
Maximum Earnings From TaxiSolve
Maximum Good People Based on StatementsSolve
Maximum Number of Non-overlapping Palindrome SubstringsSolve
Maximum Profit in Job SchedulingSolve
Merge In Between Linked ListsSolve
Merge Sorted ArraySolve
Minimum Array SumSolve
Minimum Cost to Cut a StickSolve
Minimum Cost to Make Array EqualSolve
Minimum Number of Steps to Make Two Strings AnagramSolve
Minimum Remove to Make Valid ParenthesesSolve
Next Greater Element ISolve
Next PermutationSolve
Non-overlapping IntervalsSolve
Number of Flowers in Full BloomSolve
Number of Visible People in a QueueSolve
Palindrome Linked ListSolve
Palindrome NumberSolve
Path Sum IISolve
Permutation in StringSolve
Populating Next Right Pointers in Each NodeSolve
Product of Array Except SelfSolve
Rearranging FruitsSolve
Reformat DateSolve
Regular Expression MatchingSolve
Remove All Adjacent Duplicates In StringSolve
Remove Duplicate LettersSolve
Remove Duplicates from Sorted ListSolve
Remove Duplicates from Sorted List IISolve
Remove K DigitsSolve
Remove Nth Node From End of ListSolve
Reverse IntegerSolve
Reverse Substrings Between Each Pair of ParenthesesSolve
Reverse Words in a StringSolve
Rotate ArraySolve
Rotate ListSolve
Rotate StringSolve
Second Highest SalarySolve
Single Element in a Sorted ArraySolve
Sort an ArraySolve
Sort Array by Increasing FrequencySolve
Sort ListSolve
Split Array Largest SumSolve
Sqrt(x)Solve
Squares of a Sorted ArraySolve
Subarray Product Less Than KSolve
Subarrays with K Different IntegersSolve
Surrounded RegionsSolve
Text JustificationSolve
Time Based Key-Value StoreSolve
TriangleSolve
Unique PathsSolve
Valid PalindromeSolve
Validate IP AddressSolve
Word BreakSolve
Word LadderSolve
Word Pattern IISolve
3Sum SmallerSolve
All Nodes Distance K in Binary TreeSolve
Average Selling PriceSolve
Basic Calculator IIISolve
Binary SearchSolve
Binary Tree Vertical Order TraversalSolve
Boundary of Binary TreeSolve
Bulb SwitcherSolve
Cache With Time LimitSolve
Can Place FlowersSolve
CandySolve
Cheapest Flights Within K StopsSolve
Climbing StairsSolve
Combination Sum IVSolve
Continuous Subarray SumSolve
Convert Binary Number in a Linked List to IntegerSolve
Count and SaySolve
Count Number of Nice SubarraysSolve
Count of Range SumSolve
Count Palindromic SubsequencesSolve
Count PrimesSolve
Count Substrings Without Repeating CharacterSolve
Create Maximum NumberSolve
Decrypt String from Alphabet to Integer MappingSolve
Design a Text EditorSolve
Design Add and Search Words Data StructureSolve
Design File SystemSolve
Edit DistanceSolve
Element Appearing More Than 25% In Sorted ArraySolve
Encode and Decode StringsSolve
Evaluate Reverse Polish NotationSolve
Find All Duplicates in an ArraySolve
Find All Numbers Disappeared in an ArraySolve
Find Common CharactersSolve
Find K Pairs with Smallest SumsSolve
Find Minimum in Rotated Sorted ArraySolve
Find Subsequence of Length K With the Largest SumSolve
Fraction to Recurring DecimalSolve
Frog JumpSolve
Game of LifeSolve
Get the Maximum ScoreSolve
Greatest Common Divisor of StringsSolve
Implement Queue using StacksSolve
Largest Divisible SubsetSolve
Leaf-Similar TreesSolve
Letter Tile PossibilitiesSolve
Linked List Cycle IISolve
Longest Substring with At Most K Distinct CharactersSolve
Longest Substring with At Most Two Distinct CharactersSolve
Making A Large IslandSolve
Max Area of IslandSolve
Max Consecutive OnesSolve
Max StackSolve
Maximize Greatness of an ArraySolve
Maximum Candies Allocated to K ChildrenSolve
Maximum Depth of Binary TreeSolve
Maximum Employees to Be Invited to a MeetingSolve
Maximum Product SubarraySolve
Maximum XOR of Two Numbers in an ArraySolve
Meeting Rooms IIISolve
Merge Nodes in Between ZerosSolve
Merge Strings AlternatelySolve
Minimize Maximum of ArraySolve
Minimum Area RectangleSolve
Minimum Cost Homecoming of a Robot in a GridSolve
Minimum Genetic MutationSolve
Minimum Insertion Steps to Make a String PalindromeSolve
Minimum Operations to Halve Array SumSolve
Minimum Sideway JumpsSolve
Minimum Window SubstringSolve
Missing NumberSolve
Multiply StringsSolve
My Calendar ISolve
Nested List Weight SumSolve
Next Greater Element IIISolve
Number of Students Unable to Eat LunchSolve
Number of Valid Words in a SentenceSolve
Odd Even Linked ListSolve
Pancake SortingSolve
Partition Equal Subset SumSolve
Path Sum IIISolve
Plates Between CandlesSolve
Remove Invalid ParenthesesSolve
Remove Linked List ElementsSolve
Reorder ListSolve
Reverse Linked List IISolve
Same TreeSolve
Serialize and Deserialize Binary TreeSolve
Shortest Path in a Grid with Obstacles EliminationSolve
Shortest Path in Binary MatrixSolve
Single-Threaded CPUSolve
Sparse Matrix MultiplicationSolve
Step-By-Step Directions From a Binary Tree Node to AnotherSolve
SubsetsSolve
Sudoku SolverSolve
Super Egg DropSolve
Swap Nodes in PairsSolve
Swapping Nodes in a Linked ListSolve
The kth Factor of nSolve
The Maze IISolve
Trapping Rain Water IISolve
Two City SchedulingSolve
Two Sum II - Input Array Is SortedSolve
Two Sum IV - Input is a BSTSolve
Valid SudokuSolve
Water and Jug ProblemSolve
Word Search IISolve