i
Oracle
Filter interviews by
While loops repeat until a condition is false; if statements execute once based on a condition.
While loops continue executing as long as the condition is true. Example: 'while (x < 10) { x++; }'
If statements execute a block of code only once if the condition is true. Example: 'if (x < 10) { x++; }'
While loops are useful for situations where the number of iterations is not known beforehand.
If statements are u...
Static typing requires variable types to be declared at compile time, while dynamic typing allows types to be determined at runtime.
Static typing requires explicit declaration of variable types, while dynamic typing infers types at runtime.
Static typing helps catch errors at compile time, while dynamic typing may lead to runtime errors.
Python is dynamically typed, but can be used with type hints for static type ch...
I am passionate about coding and enjoy problem-solving using Python.
I have a strong interest in programming and have been learning Python for a while.
I find Python to be a versatile and powerful language that can be used in various applications.
I enjoy the challenge of writing efficient and clean code to solve complex problems.
I believe working as a Python developer will allow me to further enhance my skills and c...
Lists are mutable, ordered collections of items, while tuples are immutable, ordered collections of items.
Lists are defined using square brackets [], while tuples are defined using parentheses ().
Lists can be modified after creation (mutable), while tuples cannot be modified (immutable).
Lists are typically used for collections of similar items that may need to be changed, while tuples are used for fixed collection...
What people are saying about Oracle
Polyfill for array map function in JavaScript
Create a function called myMap that takes a callback function as an argument
Loop through the array and apply the callback function to each element
Return a new array with the results of the callback function applied to each element
An operating system (OS) is software that manages computer hardware and software resources, providing services for computer programs.
An OS acts as an intermediary between users and the computer hardware.
Examples of popular operating systems include Windows, macOS, and Linux.
The OS manages system resources like CPU, memory, and storage.
It provides a user interface, which can be command-line or graphical.
The OS hand...
System calls are the interface between user applications and the operating system, allowing programs to request services from the OS.
System calls provide a way for programs to interact with the operating system.
Common system calls include file operations (open, read, write, close).
Examples of system calls: 'fork()' for creating processes, 'exec()' for executing programs.
They enable resource management, such as mem...
Inheritance in OOP allows a class to inherit properties and behaviors from another class.
Inheritance promotes code reusability by allowing a new class to use the properties and methods of an existing class.
The class that is being inherited from is called the base class or parent class, while the class that inherits is called the derived class or child class.
Derived classes can add new properties and methods, or ov...
The Two Sum problem involves finding two numbers in an array that add up to a specific target sum.
Use a hash map to store the difference between the target and each element as you iterate through the array.
Example: For array [2, 7, 11, 15] and target 9, store 7 in the map when you encounter 2.
When you find 7 later in the array, you can retrieve 2 from the map, confirming they sum to 9.
Time complexity is O(n) due t...
Remove duplicates from array of strings while maintaining original order.
Iterate through the array and use a Set to keep track of unique elements.
Add elements to a new array only if they are not already in the Set.
I appeared for an interview in Jan 2025.
Numerical reasoning : Tests mathematical skills,such as number sequences,percentages,and ratios.
Static typing requires variable types to be declared at compile time, while dynamic typing allows types to be determined at runtime.
Static typing requires explicit declaration of variable types, while dynamic typing infers types at runtime.
Static typing helps catch errors at compile time, while dynamic typing may lead to runtime errors.
Python is dynamically typed, but can be used with type hints for static type checkin...
Lists are mutable, ordered collections of items, while tuples are immutable, ordered collections of items.
Lists are defined using square brackets [], while tuples are defined using parentheses ().
Lists can be modified after creation (mutable), while tuples cannot be modified (immutable).
Lists are typically used for collections of similar items that may need to be changed, while tuples are used for fixed collections of ...
Gd Topics:
1.Current affairs
2.Business and Economy
3.Social and Cultural
I am a passionate Python developer with experience in web development and data analysis.
Experienced in Python programming language
Proficient in web development using Django framework
Skilled in data analysis with libraries like Pandas and NumPy
I am passionate about coding and enjoy problem-solving using Python.
I have a strong interest in programming and have been learning Python for a while.
I find Python to be a versatile and powerful language that can be used in various applications.
I enjoy the challenge of writing efficient and clean code to solve complex problems.
I believe working as a Python developer will allow me to further enhance my skills and contri...
I applied via Campus Placement
Polyfill for array map function in JavaScript
Create a function called myMap that takes a callback function as an argument
Loop through the array and apply the callback function to each element
Return a new array with the results of the callback function applied to each element
I appeared for an interview in Apr 2025, where I was asked the following questions.
I applied via Approached by Company and was interviewed in Feb 2024. There were 4 interview rounds.
Print all possible combinations of strings by picking one character from each string in the array.
Iterate through each character of the first string and combine it with each character of the second string.
Repeat the process for all strings in the array to get all possible combinations.
Use nested loops to generate combinations efficiently.
Find indices in an array where the sum of elements around them is equal.
Equilibrium point is defined as sum of elements before index i equals sum of elements from index i to t+p-1.
Example: For P=2 and Array={1,-1,3,-3,10,-10,17}, indices 2, 4, and 5 are equilibrium points.
At index 2: Left sum (1 + -1) = 0, Right sum (3) = 3; not an equilibrium.
At index 4: Left sum (1 + -1 + 3 + -3) = 0, Right sum (10 + -10) = 0; equili...
Check if a string has balanced parentheses.
Use a stack to keep track of opening parentheses.
Iterate through the string and push opening parentheses onto the stack.
When a closing parenthesis is encountered, pop from the stack and check if it matches the closing parenthesis.
If stack is empty at the end and all parentheses are matched, the string has balanced parentheses.
Modified Balanced Parentheses where characters can be matched with any other character.
Use a stack to keep track of opening characters
When encountering a closing character, check if it matches the top of the stack
If it matches, pop from the stack, else return false
Continue until end of string, return true if stack is empty
Traverse a matrix in spiral order, collecting elements layer by layer.
Start from the top-left corner and move right until the end of the row.
Then, move down the last column.
Next, move left across the bottom row.
Finally, move up the first column.
Repeat the process for the inner layers until all elements are traversed.
Example: For a matrix [[1,2,3],[4,5,6],[7,8,9]], the spiral order is [1,2,3,6,9,8,7,4,5].
Java program to calculate date n days after given date without using Date parsing libraries.
Parse the input date string to extract day, month, and year components.
Calculate the total number of days represented by the input date.
Add the specified number of days to the total days calculated.
Convert the final total days back to day, month, and year components to get the new date.
Print Pythagorean triplets within a given range.
Iterate through all possible combinations of a, b, and c within the given range
Check if a^2 + b^2 = c^2 for each combination
Print the triplets that satisfy the Pythagorean theorem
Use backtracking to find all combinations of numbers in an array that sum up to a given number.
Start by sorting the array in non-decreasing order to easily identify combinations.
Use backtracking to recursively find all combinations that sum up to the target number.
Keep track of the current combination and the remaining sum as you traverse the array.
Add the current combination to the result when the sum equals the targe...
I applied via Job Fair and was interviewed in Sep 2024. There was 1 interview round.
The Two Sum problem involves finding two numbers in an array that add up to a specific target sum.
Use a hash map to store the difference between the target and each element as you iterate through the array.
Example: For array [2, 7, 11, 15] and target 9, store 7 in the map when you encounter 2.
When you find 7 later in the array, you can retrieve 2 from the map, confirming they sum to 9.
Time complexity is O(n) due to a s...
Inheritance in OOP allows a class to inherit properties and behaviors from another class.
Inheritance promotes code reusability by allowing a new class to use the properties and methods of an existing class.
The class that is being inherited from is called the base class or parent class, while the class that inherits is called the derived class or child class.
Derived classes can add new properties and methods, or overrid...
I applied via Approached by Company and was interviewed in Apr 2024. There were 3 interview rounds.
Singleton pattern ensures a class has only one instance and provides a global point of access to it.
Ensures a class has only one instance by providing a global access point to it.
Uses a private constructor to restrict instantiation of the class.
Provides a static method to access the singleton instance.
Commonly used in scenarios where only one instance of a class is needed, such as database connections or logging.
Exampl...
POJO is a Plain Old Java Object with private fields and public getters/setters, while a Bean is a Java class with private fields and public zero-argument constructors.
POJO stands for Plain Old Java Object
POJO has private fields and public getters/setters
Bean is a Java class with private fields and public zero-argument constructors
Beans are usually used in Java EE frameworks like Spring for dependency injection
Calculate the product of all elements in an array except for the element itself.
Iterate through the array and calculate the product of all elements except the current element.
Use two separate arrays to store the product of elements to the left and right of the current element.
Multiply the corresponding elements from the left and right arrays to get the final result.
Two objects created - one in the string pool and one in the heap.
String 'a' is created in the string pool, while String 'b' is created in the heap.
String pool is a special area in the heap memory where strings are stored to increase reusability and save memory.
Using 'new' keyword always creates a new object in the heap, even if the content is the same as an existing string in the pool.
Static variables can be accessed from non-static methods using an object reference or by making the variable non-static.
Static variables can be accessed from non-static methods by creating an object of the class containing the static variable.
Alternatively, the static variable can be made non-static to be accessed directly from a non-static method.
Attempting to access a static variable directly from a non-static method...
Emulate Producer/Consumer Problem using code
Create a shared buffer between producer and consumer
Use synchronization mechanisms like mutex or semaphore to control access to the buffer
Implement producer and consumer functions to add and remove items from the buffer respectively
Creating a deadlock involves two or more threads waiting for each other to release a resource they need.
Create two threads, each trying to lock two resources in a different order
Ensure that one thread locks resource A first and then tries to lock resource B, while the other thread locks resource B first and then tries to lock resource A
This will result in a situation where each thread is waiting for the other to releas...
Implement LRU Cache using a data structure like LinkedHashMap in Java
Use LinkedHashMap to maintain insertion order
Override removeEldestEntry method to limit cache size
Update the access order on get and put operations
Merge and remove duplicates from two sorted arrays without using Collections
Use two pointers to iterate through both arrays simultaneously
Compare elements at each pointer and add the smaller one to the result array
Skip duplicates by checking if the current element is equal to the previous element
Code to start 5 threads in Java
Create a class that implements the Runnable interface
Instantiate 5 objects of the class
Create 5 threads using the objects and start them
Only the original string 'Something' will be garbage collected.
The concat method in Java does not modify the original string, but instead returns a new string with the concatenated value.
In this case, 'a' remains as 'Something' and a new string 'Something New' is created, but not assigned to any variable.
Since the new string is not stored in any variable, it will not be garbage collected.
Code to read a file in Java
Use FileReader and BufferedReader classes to read the file
Handle exceptions using try-catch blocks
Close the file after reading using close() method
I applied via Campus Placement and was interviewed in Jun 2024. There were 3 interview rounds.
It is quite easy.topics like train speed and time , profit loss and work hour energy problems
Coding will be based on DSA .In depth graphs and trees would been asked
An operating system (OS) is software that manages computer hardware and software resources, providing services for computer programs.
An OS acts as an intermediary between users and the computer hardware.
Examples of popular operating systems include Windows, macOS, and Linux.
The OS manages system resources like CPU, memory, and storage.
It provides a user interface, which can be command-line or graphical.
The OS handles f...
System calls are the interface between user applications and the operating system, allowing programs to request services from the OS.
System calls provide a way for programs to interact with the operating system.
Common system calls include file operations (open, read, write, close).
Examples of system calls: 'fork()' for creating processes, 'exec()' for executing programs.
They enable resource management, such as memory a...
First round was online assessment consisting of aptitude and coding questions.
A basic dynamic programming question similar to the "pick or not pick" problem.
Some of the top questions asked at the Oracle interview for freshers -
The duration of Oracle interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 44 interview experiences
Difficulty level
Duration
based on 5.6k reviews
Rating in categories
Hyderabad / Secunderabad,
Chennai
+110-20 Yrs
₹ 20-35 LPA
Senior Software Engineer
2.7k
salaries
| ₹10.8 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 L/yr |
Software Developer
1.5k
salaries
| ₹8.4 L/yr - ₹31.6 L/yr |
SAP
MongoDB
Salesforce
IBM