i
Oracle
Filter interviews by
I applied via Naukri.com and was interviewed in May 2024. There were 3 interview rounds.
Generate all permutations of a given number without duplicates
Use backtracking to generate all possible permutations
Avoid duplicates by keeping track of used digits
Recursively swap digits to generate permutations
I applied via Naukri.com and was interviewed in Feb 2024. There were 2 interview rounds.
To find the highest element in a BST, perform a right traversal until reaching the rightmost leaf node.
Perform a right traversal starting from the root node until reaching the rightmost leaf node to find the highest element.
Implement the insertion operation by comparing the value to be inserted with each node and traversing left or right accordingly.
Ensure that the BST property is maintained during insertion by placing...
Heap Sort is a comparison-based sorting algorithm that uses a binary heap data structure.
Heap Sort involves building a max heap from the input array, then repeatedly removing the maximum element and rebuilding the heap.
The time complexity of Heap Sort is O(n log n) in the worst case scenario.
Example: Given an array [4, 10, 3, 5, 1], after applying Heap Sort, the sorted array would be [1, 3, 4, 5, 10].
To delete the nth element from the end in a LinkedList, we can use two pointers approach.
Use two pointers - one to traverse the list and another to keep track of the nth element from the end.
Calculate the distance between the two pointers and delete the node at the second pointer.
To reverse a LinkedList, iterate through the list and change the direction of pointers.
Iterate through the LinkedList and keep track of the previous, current, and next nodes.
Update the pointers to reverse the direction of the nodes.
Repeat until the end of the list is reached.
Explain the basics of Java in a simple and practical way, focusing on hands-on examples and real-world applications.
Start by explaining the basic syntax and structure of Java code
Use simple examples to demonstrate concepts like variables, loops, and functions
Show how Java is used in real-world applications, such as building websites or mobile apps
Memory management is the process of controlling and coordinating computer memory, assigning portions called blocks to various running programs.
Memory allocation - assigning memory blocks to programs as needed
Memory deallocation - releasing memory blocks when no longer needed
Memory fragmentation - the division of memory into small blocks leading to inefficient use
Memory leaks - when a program fails to release memory aft...
What people are saying about Oracle
I applied via Naukri.com and was interviewed in Sep 2023. There were 3 interview rounds.
Detect cycle in directed graph using depth-first search algorithm.
Use depth-first search (DFS) algorithm to traverse the graph.
Maintain a visited set to keep track of visited nodes.
If a node is visited again during traversal, there is a cycle in the graph.
Oracle interview questions for designations
I applied via Approached by Company and was interviewed in Jan 2024. There was 1 interview round.
Get interview-ready with Top Oracle Interview Questions
I applied via Naukri.com and was interviewed before Apr 2023. There were 2 interview rounds.
Problem solving and basics
I applied via Company Website and was interviewed in Mar 2023. There were 3 interview rounds.
posted on 16 Sep 2021
I appeared for an interview before Sep 2020.
Round duration - 90 minutes
Round difficulty - Easy
Pretty easy questions.
You are provided with an array of integers ARR
of size N
and an integer K
. Your task is to find and return the K
-th smallest value present in the array. All elements...
Find the K-th smallest element in an array of distinct integers.
Sort the array and return the element at index K-1.
Use a min-heap to find the K-th smallest element efficiently.
Implement quickselect algorithm for optimal performance.
Round duration - 20 Minutes
Round difficulty - Easy
1 coding question
Given a string S
consisting only of digits from 0 to 9, your task is to find all potential IP addresses that can be formed from S
and list them in lexicographical order. I...
Given a string of digits, find all potential valid IP addresses that can be formed from it.
Split the string into four parts and check if each part is a valid IP segment (0-255).
Use backtracking to generate all possible combinations of valid IP addresses.
Ensure that the IP address does not contain leading zeroes.
Return the valid IP addresses in lexicographical order.
Round duration - 45 Minutes
Round difficulty - Easy
Total Discussion on OS concepts
Memory management in operating systems involves allocation, deallocation, and optimization of memory usage.
Memory allocation: OS allocates memory to processes based on their requirements.
Memory deallocation: OS frees up memory when it is no longer needed by a process.
Memory optimization: OS optimizes memory usage through techniques like paging, segmentation, and virtual memory.
Examples: Paging in which memory is divide...
Round duration - 45 Minutes
Round difficulty - Easy
Easy in office environment
Your task is to identify the position of the only '1' bit in the binary representation of a given non-negative integer N
. The representation contains exactly one '1' and the rest are...
Find the position of the lone '1' bit in the binary representation of a given non-negative integer.
Iterate through the bits of the integer to find the position of the lone '1'.
Use bitwise operations to check if there is exactly one '1' bit in the binary representation.
Return the position of the lone '1' or -1 if there isn't exactly one '1'.
Tip 1 : Do a good project.
Tip 2 : Master the topics you are preparing.
Tip 1 : Avoid writing things you do not know
Tip 2 : Follow a proper format for Resume.
Reverse a given string
Use a loop to iterate through the string and append each character to a new string in reverse order
Alternatively, use built-in string functions to reverse the string
If the string is stored as an array of characters, swap the first and last elements, then the second and second-to-last elements, and so on until the middle is reached
I applied via Naukri.com and was interviewed in Sep 2020. There were 4 interview rounds.
The duration of Oracle Java Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 8 interviews
2 Interview rounds
based on 6 reviews
Rating in categories
Senior Software Engineer
2.5k
salaries
| ₹10.3 L/yr - ₹40 L/yr |
Principal Consultant
2.1k
salaries
| ₹10.9 L/yr - ₹37 L/yr |
Senior Consultant
2.1k
salaries
| ₹8.8 L/yr - ₹28 L/yr |
Senior Member of Technical Staff
1.8k
salaries
| ₹13.5 L/yr - ₹45 L/yr |
Senior Application Engineer
1.4k
salaries
| ₹9.7 L/yr - ₹30 L/yr |
SAP
MongoDB
Salesforce
IBM