i
Oracle
Filter interviews by
I applied via Naukri.com and was interviewed in Jun 2020. There were 5 interview rounds.
Stack can be implemented using two queues, and Queue can be implemented using two stacks.
To implement Stack using Queue, we can use two queues. One queue will be used for storing elements and the other will be used for dequeuing elements. When we push an element, we enqueue it to the first queue. When we pop an element, we dequeue all the elements from the first queue and enqueue them to the second queue, except for th...
To delete a head node from a linked list without the head node given, we need to traverse the list.
Traverse the list until we find the node whose next node is the head node.
Make the next node of that node as the new head node.
Delete the original head node.
Java api implementation approach and front-end connection.
Java api implementation involves creating classes and methods to interact with the api
The front-end can connect to the api using HTTP requests and JSON data
Frameworks like Spring can simplify the implementation process
API documentation is crucial for understanding how to use the api
Finding the longest common substring among multiple strings.
Iterate through all substrings of the first string and check if it exists in all other strings.
Use dynamic programming to find the longest common substring among all strings.
If the strings are sorted, use binary search to find the common substring.
Example: For strings 'abcdef' and 'defghij', the longest common substring is 'def'.
Top trending discussions
Classes can have both implementation and data members, while interfaces can only have method signatures.
Classes can have constructors, interfaces cannot.
Classes can have access modifiers for their members, interfaces cannot.
A class can implement multiple interfaces, but can only inherit from one class.
Interfaces are used to achieve abstraction and multiple inheritance in Java.
Example: Class 'Animal' can have methods li...
I applied via AmbitionBox and was interviewed in Mar 2024. There was 1 interview round.
Multithreading allows multiple threads to exist within the context of a single process, while multiprocessing involves multiple processes running concurrently.
Multithreading allows multiple threads to share the same memory space and resources of a single process, while multiprocessing involves separate memory space for each process.
Multithreading is more lightweight and efficient compared to multiprocessing as threads ...
posted on 20 Jun 2024
React DOM is a package that provides methods for updating the DOM in response to React components.
React DOM is used to render React components to the DOM.
It provides methods like ReactDOM.render() to render components.
React DOM efficiently updates the DOM when the state of a component changes.
It handles events and updates the DOM accordingly.
React DOM is separate from React itself, allowing for flexibility in rendering
MVC in Rails is a software design pattern that separates the application into three main components: Model, View, and Controller.
Model: Represents the data and business logic of the application.
View: Represents the user interface of the application.
Controller: Acts as an intermediary between the Model and View, handling user input and updating the Model accordingly.
Example: In a Rails application, a User model would ha...
posted on 20 Jun 2024
Write code for micro service
Singleton is a design pattern that restricts the instantiation of a class to one object.
Singleton pattern ensures that a class has only one instance and provides a global point of access to it.
Commonly used in scenarios where only a single instance of a class is needed, such as database connections or configuration settings.
Implementation can involve a private constructor, a static method to access the instance, and a ...
posted on 29 Dec 2022
I applied via Naukri.com and was interviewed in Nov 2022. There were 2 interview rounds.
posted on 25 Feb 2022
Garbage collector algorithm manages memory allocation and deallocation in a program.
Garbage collector automatically frees up memory that is no longer in use.
It identifies and removes objects that are no longer referenced by the program.
There are different types of garbage collector algorithms such as mark-and-sweep, reference counting, and generational.
Java and .NET languages use garbage collector by default.
Garbage co...
I applied via Approached by Company and was interviewed in Aug 2021. There were 3 interview rounds.
DS & Algo based programming
Salesforce Apex coding also making use Queue and Recursive algo.
Senior Software Engineer
2.4k
salaries
| ₹10.1 L/yr - ₹40 L/yr |
Senior Consultant
2.1k
salaries
| ₹9 L/yr - ₹24.6 L/yr |
Principal Consultant
2k
salaries
| ₹10.9 L/yr - ₹36 L/yr |
Senior Member of Technical Staff
1.8k
salaries
| ₹12 L/yr - ₹45 L/yr |
Senior Application Engineer
1.4k
salaries
| ₹9.5 L/yr - ₹30 L/yr |
SAP
MongoDB
Salesforce
IBM