Oracle Coding Interview Questions

340 DSA problems tagged as asked in Oracle coding interviews and online assessments. Below are the first 100 of 340: 70 easy, 0 medium and 30 hard. Start with the easy ones, then move to medium. Practise free on InternHack and track your progress.

Oracle DSA problems, easiest first

  1. Add Strings (Easy)
  2. Average Selling Price (Easy)
  3. Backspace String Compare (Easy)
  4. Best Time to Buy and Sell Stock (Easy)
  5. Binary Search (Easy)
  6. Calculate Amount Paid in Taxes (Easy)
  7. Can Place Flowers (Easy)
  8. Climbing Stairs (Easy)
  9. Closest Binary Search Tree Value (Easy)
  10. Contains Duplicate (Easy)
  11. Convert Binary Number in a Linked List to Integer (Easy)
  12. Count Binary Substrings (Easy)
  13. Count Distinct Numbers on Board (Easy)
  14. Count Pairs Of Similar Strings (Easy)
  15. Count Vowel Substrings of a String (Easy)
  16. Counting Bits (Easy)
  17. Decrypt String from Alphabet to Integer Mapping (Easy)
  18. Degree of an Array (Easy)
  19. Design HashMap (Easy)
  20. Diameter of Binary Tree (Easy)
  21. Element Appearing More Than 25% In Sorted Array (Easy)
  22. Find All Numbers Disappeared in an Array (Easy)
  23. Find Common Characters (Easy)
  24. Find Valid Pair of Adjacent Digits in String (Easy)
  25. First Unique Character in a String (Easy)
  26. Fizz Buzz (Easy)
  27. Greatest Common Divisor of Strings (Easy)
  28. Happy Number (Easy)
  29. Invert Binary Tree (Easy)
  30. Island Perimeter (Easy)
  31. Isomorphic Strings (Easy)
  32. Kth Missing Positive Number (Easy)
  33. Last Stone Weight (Easy)
  34. Leaf-Similar Trees (Easy)
  35. Linked List Cycle (Easy)
  36. Logger Rate Limiter (Easy)
  37. Longest Common Prefix (Easy)
  38. Longest Palindrome (Easy)
  39. Lucky Numbers in a Matrix (Easy)
  40. Majority Element (Easy)
  41. Maximum Depth of Binary Tree (Easy)
  42. Meeting Rooms (Easy)
  43. Merge Sorted Array (Easy)
  44. Merge Strings Alternately (Easy)
  45. Merge Two Sorted Lists (Easy)
  46. Minimum Absolute Difference (Easy)
  47. Missing Number (Easy)
  48. Move Zeroes (Easy)
  49. Next Greater Element I (Easy)
  50. Number of Students Unable to Eat Lunch (Easy)
  51. Number of Valid Words in a Sentence (Easy)
  52. Palindrome Linked List (Easy)
  53. Palindrome Number (Easy)
  54. Reformat Date (Easy)
  55. Remove All Adjacent Duplicates In String (Easy)
  56. Remove Duplicates from Sorted Array (Easy)
  57. Remove Duplicates from Sorted List (Easy)
  58. Remove Linked List Elements (Easy)
  59. Reverse Linked List (Easy)
  60. Reverse Vowels of a String (Easy)
  61. Roman to Integer (Easy)
  62. Rotate String (Easy)
  63. Search in a Binary Search Tree (Easy)
  64. Sort Array by Increasing Frequency (Easy)
  65. Sqrt(x) (Easy)
  66. Two Sum (Easy)
  67. Two Sum IV - Input is a BST (Easy)
  68. Valid Anagram (Easy)
  69. Valid Palindrome (Easy)
  70. Valid Parentheses (Easy)
  71. Alien Dictionary (Hard)
  72. Basic Calculator (Hard)
  73. Binary Tree Maximum Path Sum (Hard)
  74. Candy (Hard)
  75. Count of Range Sum (Hard)
  76. Create Maximum Number (Hard)
  77. Design In-Memory File System (Hard)
  78. Distinct Subsequences (Hard)
  79. Find Median from Data Stream (Hard)
  80. First Missing Positive (Hard)
  81. Frog Jump (Hard)
  82. Integer to English Words (Hard)
  83. Largest Rectangle in Histogram (Hard)
  84. Longest Valid Parentheses (Hard)
  85. Median of Two Sorted Arrays (Hard)
  86. Merge k Sorted Lists (Hard)
  87. Minimum Window Substring (Hard)
  88. N-Queens (Hard)
  89. Regular Expression Matching (Hard)
  90. Remove Invalid Parentheses (Hard)
  91. Serialize and Deserialize Binary Tree (Hard)
  92. Sliding Window Maximum (Hard)
  93. Sudoku Solver (Hard)
  94. Text Justification (Hard)
  95. Trapping Rain Water (Hard)
  96. Trapping Rain Water II (Hard)
  97. Wildcard Matching (Hard)
  98. Word Break II (Hard)
  99. Word Ladder (Hard)
  100. Word Search II (Hard)

Prepare for the rest of the Oracle process

Other companies