preloader
  • Home
  • Previous Questions

Contains previous problem statements given by various recruitors during their selection process.

1st Jan, 0001

Oracle

IDQuestions
1Two Sum
2Add Two Numbers
3Longest Substring Without Repeating Characters
4Median of Two Sorted Arrays
5Longest Palindromic Substring
6Zigzag Conversion
7Reverse Integer
10Regular Expression Matching
11Container With Most Water
12Integer to Roman
13Roman to Integer
14Longest Common Prefix
153Sum
17Letter Combinations of a Phone Number
19Remove Nth Node From End of List
20Valid Parentheses
21Merge Two Sorted Lists
22Generate Parentheses
23Merge k Sorted Lists
26Remove Duplicates from Sorted Array
29Divide Two Integers
30Substring with Concatenation of All Words
31Next Permutation
32Longest Valid Parentheses
33Search in Rotated Sorted Array
34Find First and Last Position of Element in Sorted Array
36Valid Sudoku
37Sudoku Solver
39Combination Sum
40Combination Sum II
41First Missing Positive
42Trapping Rain Water
45Jump Game II
48Rotate Image
49Group Anagrams
50Pow(x, n)
53Maximum Subarray
54Spiral Matrix
55Jump Game
56Merge Intervals
57Insert Interval
61Rotate List
63Unique Paths II
64Minimum Path Sum
70Climbing Stairs
71Simplify Path
73Set Matrix Zeroes
74Search a 2D Matrix
75Sort Colors
76Minimum Window Substring
78Subsets
79Word Search
88Merge Sorted Array
91Decode Ways
93Restore IP Addresses
98Validate Binary Search Tree
99Recover Binary Search Tree
102Binary Tree Level Order Traversal
103Binary Tree Zigzag Level Order Traversal
108Convert Sorted Array to Binary Search Tree
116Populating Next Right Pointers in Each Node
118Pascal’s Triangle
121Best Time to Buy and Sell Stock
122Best Time to Buy and Sell Stock II
123Best Time to Buy and Sell Stock III
124Binary Tree Maximum Path Sum
125Valid Palindrome
134Gas Station
138Copy List with Random Pointer
139Word Break
140Word Break II
141Linked List Cycle
146LRU Cache
148Sort List
149Max Points on a Line
150Evaluate Reverse Polish Notation
153Find Minimum in Rotated Sorted Array
155Min Stack
160Intersection of Two Linked Lists
165Compare Version Numbers
168Excel Sheet Column Title
176Second Highest Salary
179Largest Number
196Delete Duplicate Emails
199Binary Tree Right Side View
200Number of Islands
205Isomorphic Strings
206Reverse Linked List
207Course Schedule
208Implement Trie (Prefix Tree)
209Minimum Size Subarray Sum
215Kth Largest Element in an Array
217Contains Duplicate
221Maximal Square
225Implement Stack using Queues
226Invert Binary Tree
227Basic Calculator II
232Implement Queue using Stacks
234Palindrome Linked List
235Lowest Common Ancestor of a Binary Search Tree
236Lowest Common Ancestor of a Binary Tree
238Product of Array Except Self
239Sliding Window Maximum
240Search a 2D Matrix II
243Shortest Word Distance
252Meeting Rooms
253Meeting Rooms II
268Missing Number
273Integer to English Words
279Perfect Squares
283Move Zeroes
297Serialize and Deserialize Binary Tree
300Longest Increasing Subsequence
314Binary Tree Vertical Order Traversal
316Remove Duplicate Letters
328Odd Even Linked List
329Longest Increasing Path in a Matrix
333Largest BST Subtree
347Top K Frequent Elements
348Design Tic-Tac-Toe
359Logger Rate Limiter
378Kth Smallest Element in a Sorted Matrix
380Insert Delete GetRandom O(1)
387First Unique Character in a String
394Decode String
412Fizz Buzz
414Third Maximum Number
415Add Strings
425Word Squares
438Find All Anagrams in a String
443String Compression
445Add Two Numbers II
450Delete Node in a BST
453Minimum Moves to Equal Array Elements
460LFU Cache
463Island Perimeter
468Validate IP Address
516Longest Palindromic Subsequence
540Single Element in a Sorted Array
543Diameter of Binary Tree
560Subarray Sum Equals K
564Find the Closest Palindrome
567Permutation in String
588Design In-Memory File System
658Find K Closest Elements
680Valid Palindrome II
694Number of Distinct Islands
696Count Binary Substrings
697Degree of an Array
715Range Module
735Asteroid Collision
761Employee Free Time
766Flatten a Multilevel Doubly Linked List
778Reorganize String
792Binary Search
803Cheapest Flights Within K Stops
812Rotate String
817Design HashMap
832Binary Tree Pruning
866Rectangle Overlap
874Backspace String Compare
878Shifting Letters
908Middle of the Linked List
971Shortest Bridge
1013Fibonacci Number
1014K Closest Points to Origin
1023Time Based Key-Value Store
1028Interval List Intersections
1029Vertical Order Traversal of a Binary Tree
1034Subarrays with K Different Integers
1036Rotting Oranges
1050Construct Binary Search Tree from Preorder Traversal
1055Pairs of Songs With Total Durations Divisible by 60
1056Capacity To Ship Packages Within D Days
1116Maximum Level Sum of a Binary Tree
1128Remove All Adjacent Duplicates In String
1129Longest String Chain
1159Smallest Subsequence of Distinct Characters
1171Shortest Path in Binary Matrix
1308Smallest String With Swaps
1352Maximum Profit in Job Scheduling
1397Search Suggestions System
1411Convert Binary Number in a Linked List to Integer
1431All Ancestors of a Node in a Directed Acyclic Graph
1451Minimum Number of Taps to Open to Water a Garden
1496Lucky Numbers in a Matrix
1510Find Lucky Integer in an Array
1526HTML Entity Parser
1582Design Browser History
1732Minimum One Bit Operations to Make Integers Zero
1741Sort Array by Increasing Frequency
1851Maximum Number of Events That Can Be Attended II
1883Find Distance in a Binary Tree
1909Buildings With an Ocean View
1929Maximum Value at a Given Index in a Bounded Array
2115Number of Unique Good Subsequences
2116Count Number of Pairs With Absolute Difference K
2527Count Subarrays With Fixed Bounds
2530Minimize Maximum of Array
2559Maximum Number of Non-overlapping Palindrome Substrings
2562Count Ways To Build Good Strings
2594Count Pairs Of Similar Strings
2651Count Ways to Group Overlapping Ranges
2679Count Distinct Numbers on Board
2683Count the Number of Good Subsequences
2689Rearranging Fruits
3032Maximize Value of Function in a Ball Passing Game