i
Rakuten
Filter interviews by
Clear (1)
I applied via Campus Placement and was interviewed before Oct 2022. There were 4 interview rounds.
One stack and queue related question, create queue using stack data structure and vise-versa?
Multi-threading question related with use cases?
I applied via Job Fair and was interviewed before May 2022. There were 3 interview rounds.
Prepare well for SQL
Top trending discussions
I applied via Approached by Company and was interviewed in Sep 2021. There were 4 interview rounds.
Book reader system implementation
Design a user interface for browsing and selecting books
Implement a database to store book information and user data
Develop a feature for bookmarking and saving progress
Include options for adjusting font size and background color
Integrate with payment system for purchasing books
Find the maximum area rectangle with all boundaries as 1 in a matrix of 0 and 1.
Use dynamic programming to calculate the maximum area rectangle.
Iterate through each row of the matrix and calculate the maximum area rectangle with that row as the base.
Keep track of the maximum area rectangle seen so far.
Time complexity: O(n^2), where n is the number of rows in the matrix.
Find the length of the longest increasing subsequence in an array.
Use dynamic programming to solve the problem efficiently.
Maintain an array to store the length of longest increasing subsequence ending at each index.
Traverse the array and update the array for each index.
Return the maximum value in the array as the length of the longest increasing subsequence.
Find the longest alternating sequence of increasing, decreasing, and increasing numbers.
Iterate through the array and keep track of the current sequence length and direction.
If the direction changes, update the sequence length and reset the direction.
Return the longest sequence length found.
Example: [1, 2, 3, 2, 1, 2, 3, 4, 3, 2, 1] returns 7 (1, 2, 3, 2, 1, 2, 3).
I applied via Approached by Company and was interviewed before Feb 2023. There were 4 interview rounds.
1 hour, 2 DSA questions. Easy
The right view of a tree shows the rightmost node at each level, while the bottom view shows the bottommost node at each horizontal distance.
To find the right view, perform a level order traversal and keep track of the rightmost node at each level.
To find the bottom view, perform a vertical order traversal and keep track of the bottommost node at each horizontal distance.
Both views can be represented as arrays of strin...
The minimum number of runways required depends on the number of aircrafts and their arrival and departure times.
Consider the number of aircrafts that will be arriving and departing at the same time.
Calculate the maximum number of aircrafts that will be on the ground at any given time.
Each aircraft requires a separate runway for landing and takeoff.
The minimum number of runways required is equal to the maximum number of
I applied via Campus Placement and was interviewed before Apr 2023. There were 2 interview rounds.
The first circular tour that visits all petrol pumps can be found using the concept of a circular linked list.
Create a circular linked list with each node representing a petrol pump
Calculate the difference between petrol available at each pump and the distance to the next pump
Start from a pump where the sum of differences is positive and traverse the circular linked list until completing the tour
I applied via Campus Placement and was interviewed before Oct 2023. There were 3 interview rounds.
First round was a aptitude test of 25 question
Oops concept in Java refers to Object-Oriented Programming principles like inheritance, encapsulation, polymorphism, and abstraction.
Inheritance allows a class to inherit properties and behavior from another class.
Encapsulation involves bundling data and methods that operate on the data into a single unit.
Polymorphism allows objects to be treated as instances of their parent class.
Abstraction hides the implementation d...
Code to create a pattern and explain each line of code
Start by defining the number of rows and columns in the pattern
Use nested loops to iterate through each row and column
Decide the pattern you want to create and use conditional statements to determine the output for each position
I applied via Recruitment Consulltant and was interviewed in Dec 2023. There was 1 interview round.
The order of execution refers to the sequence in which instructions or operations are executed in a program.
The order of execution is determined by the programming language and the specific code being executed.
Generally, code is executed line by line from top to bottom.
However, there are exceptions such as loops, conditionals, and function calls that can alter the order of execution.
In some programming languages, there...
Find the pair element from the array
Iterate through the array and use a hashmap to store elements and their counts
Check if the current element's complement exists in the hashmap
Return the pair if found, otherwise return null
I applied via Recruitment Consultant and was interviewed in May 2021. There were 4 interview rounds.
An immutable class is a class whose instances cannot be modified after creation.
Make all fields private and final
Don't provide any setter methods
Ensure that any mutable objects passed to the constructor are defensively copied
Make the class final so that it cannot be subclassed
Singleton pattern ensures only one instance of a class is created and provides a global point of access to it.
Create a private constructor to prevent direct instantiation of the class.
Create a private static instance of the class.
Create a public static method to access the instance, and create the instance if it doesn't exist.
Ensure thread safety by using synchronized keyword or double-checked locking.
Vector is synchronized and ArrayList is not. Vector is thread-safe and ArrayList is not.
Vector is a legacy class and ArrayList is a part of the Java Collection Framework.
Vector is synchronized which means only one thread can access it at a time, while ArrayList is not.
Vector is thread-safe which means it can be used in a multi-threaded environment, while ArrayList is not.
Vector is slower than ArrayList because of synch...
Create Linked List without using internal library and provide add, delete, find functionality.
Create a Node class with data and next pointer
Create a LinkedList class with head pointer and methods to add, delete, and find nodes
Use a loop to traverse the list and perform operations
Handle edge cases such as adding to an empty list or deleting the head node
The current system follows a microservices architecture.
The system is divided into multiple independent services.
Each service has its own database and communicates with other services through APIs.
The architecture allows for scalability and flexibility.
Examples of microservices used in the system include user authentication, payment processing, and inventory management.
Find the total no of islands in a 2D matrix.
Use DFS or BFS to traverse the matrix.
Mark visited cells to avoid repetition.
Count the number of islands found.
Loop detection in a linked list.
Use two pointers, one moving at twice the speed of the other.
If there is a loop, the faster pointer will eventually catch up to the slower one.
If there is no loop, the faster pointer will reach the end of the list.
I was interviewed before Sep 2020.
Round duration - 90 minutes
Round difficulty - Easy
This was MCQ+Coding round.
Check if two strings are anagrams by comparing the sorted versions of the strings.
Sort both strings and compare if they are equal.
Use a hashmap to store the frequency of characters in each string and compare the maps.
Ignore spaces and punctuation when comparing the strings.
Round duration - 90 minutes
Round difficulty - Easy
This was face to face interview round.
Round duration - 90 minutes
Round difficulty - Easy
This was face to face interview round.
Tip 1 : Participate in live contests on websites like Codechef, Codeforces etc as much as possible.
Tip 2 : Practice previous interview questions from LeetCode, GeeksForGeeks.
Tip 3 : Revise Computer Science subjects like DBMS, OOPS thoroughly.
Add projects and Internships if you have done any and add only those things which you really know.
Final outcome of the interviewSelectedbased on 2 interviews
Interview experience
based on 13 reviews
Rating in categories
Senior Software Engineer
227
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
223
salaries
| ₹0 L/yr - ₹0 L/yr |
Technical Lead
194
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer 2
136
salaries
| ₹0 L/yr - ₹0 L/yr |
Devops Engineer
133
salaries
| ₹0 L/yr - ₹0 L/yr |
Amazon
eBay
Netflix
Flipkart