i
Oracle
Filter interviews by
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
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
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
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.
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 monetiza...
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 purc...
I appeared for an interview 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 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 ...
Top trending discussions
I applied via Approached by Company and was interviewed before Jun 2021. There were 2 interview rounds.
Frameworks provide structure and pre-built components for software development, but can also limit flexibility and require learning curve.
Advantage: Provides structure and pre-built components for faster development
Advantage: Can improve code quality and maintainability
Disadvantage: Can limit flexibility and customization
Disadvantage: Requires learning curve and potential dependency issues
Example: ReactJS provides a fr...
Oops stands for Object-Oriented Programming. It is a programming paradigm that uses objects to represent real-world entities.
Advantages: code reusability, modularity, encapsulation, inheritance, polymorphism
Disadvantages: complexity, steep learning curve, performance overhead
Example: creating a class 'Car' with properties like 'make', 'model', and 'year', and methods like 'start_engine' and 'stop_engine'
posted on 8 Jan 2021
I applied via Company Website and was interviewed before Oct 2019. There were 4 interview rounds.
I applied via Campus Placement and was interviewed before Nov 2021. There were 3 interview rounds.
Numerical and logical aptitude test
There are 5 rounds on datastructure and algorithm
based on 1 interview experience
Difficulty level
Duration
based on 1 review
Rating in categories
Senior Software Engineer
2.5k
salaries
| ₹19.7 L/yr - ₹36 L/yr |
Principal Consultant
2.2k
salaries
| ₹20 L/yr - ₹34 L/yr |
Senior Consultant
2.2k
salaries
| ₹12.8 L/yr - ₹23.4 L/yr |
Senior Member of Technical Staff
1.9k
salaries
| ₹23.6 L/yr - ₹40.5 L/yr |
Software Developer
1.5k
salaries
| ₹15.4 L/yr - ₹28 L/yr |
SAP
MongoDB
Salesforce
IBM