i
Oracle
Filter interviews by
To find the maximum salary in emp table, use the MAX function on the salary column.
Use the MAX function in SQL to find the highest value in a column
Specify the column name after the MAX function, in this case 'salary'
Example: SELECT MAX(salary) FROM emp
This will return the highest salary value in the emp table
Towers of Hanoi is a classic problem of moving disks from one peg to another with specific rules.
The problem involves three pegs and a number of disks of different sizes.
The goal is to move all the disks from the first peg to the third peg, while following the rules.
The rules are: only one disk can be moved at a time, a larger disk cannot be placed on top of a smaller disk, and all disks must be moved to the third...
Explanation of three normalizations with examples
First Normal Form (1NF): Eliminate duplicate data and create separate tables for related data
Example: A table with customer information and their orders should be split into two tables
Second Normal Form (2NF): Ensure non-key attributes are dependent on the primary key
Example: A table with customer information and their orders should have separate tables for customer...
Find duplicates in an array
Iterate through the array and compare each element with the rest of the elements
Use a hash table to keep track of the frequency of each element
Sort the array and compare adjacent elements
Use a set to keep track of unique elements and add duplicates to another set
What people are saying about Oracle
Semaphore allows multiple threads to access shared resources at the same time, while mutex allows only one thread at a time.
Semaphore is used to control access to a resource with limited capacity, like a printer or database connection pool.
Mutex is used to protect a shared resource from simultaneous access, like a critical section of code.
Semaphore can have a count greater than 1, allowing multiple threads to acce...
Implementing queue using linked lists
Create a Node class with data and next pointer
Create a Queue class with head and tail pointers
Enqueue by adding a new node at the tail and dequeue by removing the head node
Check for empty queue by checking if head is null
8 Queens Algorithm is a backtracking algorithm to place 8 queens on a chessboard without attacking each other.
The algorithm places one queen in each column, starting from the leftmost column.
If a queen can be placed in a row without attacking another queen, it is placed there.
If no such row exists, the algorithm backtracks to the previous column and tries a different row.
The algorithm continues until all 8 queens ...
Heap sort is a comparison-based sorting algorithm that uses a binary heap data structure.
It divides the input into a sorted and an unsorted region.
It repeatedly extracts the largest element from the unsorted region and inserts it into the sorted region.
It has a worst-case and average-case time complexity of O(n log n).
Reverse a string
Use a loop to iterate through the string and append each character to a new string in reverse order
Alternatively, use the built-in reverse() method for strings in some programming languages
The minimum number of races required to find the top 3 among 25 horses is 7.
Divide the 25 horses into 5 groups of 5 horses each.
Race the 5 groups, which will give us the top 3 horses from each group.
Now we have 15 horses remaining.
Race the top 3 horses from each group, which will give us the top 3 horses overall.
This requires a total of 7 races.
I applied via Campus Placement and was interviewed in Jul 2024. There were 3 interview rounds.
Merge two sorted arrays into a single sorted array
Create a new array to store the merged result
Use two pointers to iterate through both arrays and compare elements
Add the smaller element to the new array and move the pointer for that array
Find the maximum length of a subarray with a given sum in an array.
Use a hashmap to store the running sum and its corresponding index.
Iterate through the array and update the hashmap with the running sum.
Check if the difference between the current sum and the target sum exists in the hashmap to find the subarray length.
Implementing OOP concepts like encapsulation, inheritance, and polymorphism in a practical application.
Encapsulation: Use classes to bundle data and methods. Example: A 'Car' class with properties like 'speed' and methods like 'accelerate()'.
Inheritance: Create a base class and derive subclasses. Example: A 'Vehicle' class and subclasses 'Car' and 'Bike'.
Polymorphism: Use method overriding to allow different classes to...
Parent and Child Trees
Calculate the area of a shape using coordinates
Determine the type of shape (e.g. rectangle, triangle, circle)
Use the appropriate formula for the shape to calculate the area
Input the coordinates into the formula to get the area
I applied via Campus Placement
MCQ and DSA questions
Intersection of linked list is finding the common node where two linked lists merge.
Traverse both linked lists to find their lengths
Align the longer list's pointer to match the length of the shorter list
Iterate through both lists simultaneously to find the intersection node
I applied via Campus Placement and was interviewed in Aug 2023. There were 4 interview rounds.
1 hour - Coding question-hard type palindrome type question , 10 MCQs including aptitude, math and paragraph question and finally a RESTAPI question on hackerrank platform
To efficiently manage room bookings and prebookings in a hotel, a priority queue data structure can be implemented.
A priority queue can be used to prioritize room bookings based on check-in dates.
When a customer checks out, the room becomes available and can be assigned to the next customer in the priority queue.
Prebookings can be stored separately and checked against the availability of rooms before assigning them to ...
Minimum 7 races required to find the top 3 fastest horses.
Divide the 25 horses into 5 groups of 5 horses each.
Conduct a race among the horses in each group to determine the fastest horse in each group.
Take the top 2 horses from each group and conduct a race among them to determine the fastest horse overall.
The winner of this race is the fastest horse.
Now, take the second-place horse from the final race and the second-p...
Implementing a sorting algorithm in Java to arrange an array of numbers in ascending order.
Use Arrays.sort() method for simplicity: Example: int[] numbers = {5, 3, 8}; Arrays.sort(numbers); // Result: {3, 5, 8}
Implement Bubble Sort for educational purposes: Iterate through the array, swapping adjacent elements if they are in the wrong order.
Consider Quick Sort for efficiency: Divide the array into sub-arrays and sort t...
Retrieve staff members in departments and departments for staff members using SQL queries.
Query 1: To get all departments for a specific staff member, use a JOIN between Staff and Department tables.
Example: SELECT d.department_name FROM Department d JOIN Staff s ON d.department_id = s.department_id WHERE s.staff_id = 1;
Query 2: To get all staff members for each department, use a JOIN and GROUP BY.
Example: SELECT d.depa...
I appeared for an interview in Sep 2024, where I was asked the following questions.
1 DSA question and mcqs
The minimum area of a square that contains all given points is the square of the maximum distance between any two points.
Calculate the distance between all pairs of points
Find the maximum distance
Square the maximum distance to get the minimum area of the square
I applied via Campus Placement and was interviewed in Sep 2023. There were 4 interview rounds.
One binary search question ( aggressive cow) and one restapi
Design a hotel booking system.
Create a database to store hotel information, room availability, and bookings.
Develop a user interface for customers to search and book hotels.
Implement a payment gateway for secure transactions.
Include features like room selection, date selection, and guest information.
Consider implementing a rating and review system for hotels.
Ensure the system can handle concurrent bookings and prevent ...
Infix to postfix conversion involves rearranging expressions for easier evaluation using a stack-based algorithm.
Infix notation: Operators are between operands (e.g., A + B).
Postfix notation: Operators follow their operands (e.g., AB+).
Use the Shunting Yard algorithm by Edsger Dijkstra for conversion.
Example: Infix: (A + B) * C becomes Postfix: AB+C*.
Some of the top questions asked at the Oracle Application Developer interview -
The duration of Oracle Application Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 28 interview experiences
Difficulty level
Duration
based on 84 reviews
Rating in categories
Senior Software Engineer
2.4k
salaries
| ₹12 L/yr - ₹42 L/yr |
Principal Consultant
2.2k
salaries
| ₹10.9 L/yr - ₹38.2 L/yr |
Senior Consultant
2.2k
salaries
| ₹9.2 L/yr - ₹25 L/yr |
Senior Member of Technical Staff
1.9k
salaries
| ₹13.5 L/yr - ₹47.5 L/yr |
Software Developer
1.5k
salaries
| ₹15.2 L/yr - ₹27 L/yr |
SAP
MongoDB
Salesforce
IBM