i
Oracle
Filter interviews by
I was interviewed before Jun 2022.
To find the middle of a single linked list, use two pointers - one moving twice as fast as the other.
Use two pointers - slow and fast
Move slow pointer by one node and fast pointer by two nodes
When fast pointer reaches end, slow pointer will be at the middle
Vending machine design patterns involve creating efficient and user-friendly interfaces for purchasing products.
Consider using the Factory Method pattern to create different types of vending machines.
Implement the State pattern to manage the different states of the vending machine (e.g. idle, dispensing, out of stock).
Use the Observer pattern to notify the vending machine when products are restocked or when a purchase ...
To find the last k nodes from the end of a linked list, we can use a two-pointer approach.
Use two pointers, one starting at the head of the linked list and the other starting k nodes ahead.
Move both pointers simultaneously until the second pointer reaches the end of the linked list.
The first pointer will now be at the kth node from the end.
Intersection of linked list is finding the common node(s) between two linked lists.
Traverse both linked lists and store nodes in a set, then check for common nodes
Use two pointers approach to find the intersection point
If one list is longer, move the pointer of the longer list to the same distance from the end as the shorter list
The most common element in a string is the character that appears the most frequently.
Use a hashmap to store the frequency of each character in the string
Iterate through the string and update the frequency count in the hashmap
Find the character with the highest frequency in the hashmap
posted on 2 Dec 2016
I applied via campus placement at Indian Institute of Technology (IIT), Chennai and was interviewed in Dec 2016. There were 5 interview rounds.
Facebook is a social media platform that allows users to connect, share content, and communicate with others.
User registration and login system
Profile creation and customization
News feed algorithm to display relevant content
Friendship system to connect users
Messaging and chat functionality
Content sharing (posts, photos, videos)
Privacy settings and controls
Notifications and activity tracking
Advertising and monetization
Oracle interview questions for designations
Get interview-ready with Top Oracle Interview Questions
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...
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 13 May 2024
I applied via Referral and was interviewed in Apr 2024. There was 1 interview round.
Had a basic coding test with easy-medium questions along with some HR questions
based on 1 interview
2 Interview rounds
based on 1 review
Rating in categories
Senior Software Engineer
2.4k
salaries
| ₹10.1 L/yr - ₹40 L/yr |
Senior Consultant
2.1k
salaries
| ₹9 L/yr - ₹30 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.4 L/yr - ₹32 L/yr |
SAP
MongoDB
Salesforce
IBM