i
Filter interviews by
Android services have distinct lifecycles, managing background tasks and user interactions efficiently.
Service can be started using startService() and runs until stopped.
Bound services allow components to bind and interact with them via bindService().
Lifecycle methods include onCreate(), onStartCommand(), onBind(), and onDestroy().
Example: A music player service that plays music in the background.
Foreground services mu...
Top trending discussions
I applied via Recruitment Consulltant and was interviewed in Jan 2022. There were 4 interview rounds.
It was basic code syntax check test.
I applied via Campus Placement and was interviewed before May 2023. There were 3 interview rounds.
MCQ of programming languages - c/c++/Python , basic DS and OS questions
I applied via Naukri.com and was interviewed in Nov 2024. There were 2 interview rounds.
They asked me about my current project and asked me to design a system similar to that
I applied via Naukri.com and was interviewed in Mar 2023. There were 3 interview rounds.
Program to find last non-repeating character in a given string using Java 8 functions only.
Use Java 8 Streams and Lambda's to filter the string and find the last non-repeating character.
Create a Map to store the frequency of each character in the string.
Use the filter() method to get the non-repeating characters and find the last one using reduce().
When a class implements multiple interfaces with the same method, it must provide a single implementation for that method.
If both interfaces have the same method signature, the implementing class must define that method only once.
Example: If Interface A and Interface B both have 'void apply()', the class must implement 'void apply()' once.
The implementation can be used interchangeably for both interfaces.
If needed, the...
Find the top 3 employees based on ratings in an employee table.
Sort the employee table based on ratings in descending order.
Select the top 3 employees from the sorted table.
Return the selected employees as the result.
Modify Employee class to consider objects with same names as duplicates.
Add a static HashSet<String> to keep track of unique names.
Override equals() and hashCode() methods to compare names.
In the constructor, check if the name already exists in the HashSet and mark it as duplicate if true.
posted on 28 Sep 2024
I applied via Naukri.com and was interviewed before Sep 2023. There were 2 interview rounds.
SQL performance can be optimized by using indexes, optimizing queries, minimizing network round trips, and using proper data types.
Use indexes on columns frequently used in WHERE clauses to speed up data retrieval.
Optimize queries by avoiding unnecessary joins, using WHERE clauses effectively, and limiting the number of rows returned.
Minimize network round trips by batching multiple queries into a single request.
Use pr...
I will investigate the root cause, analyze logs, and work on fixing the issue to prevent future crashes.
Investigate the crash logs to identify the root cause
Analyze the code to understand the issue
Implement a fix for the crash
Test the fix thoroughly before deploying it
Implement monitoring and alerting to catch similar issues in the future
30min and ask one coding question
30min and ask 2 coding question
I applied via Company Website and was interviewed in Nov 2024. There was 1 interview round.
I appeared for an interview in Nov 2024, where I was asked the following questions.
Designing a load balancer involves scalability, reliability, and efficient traffic distribution across servers.
Define the load balancing algorithm (e.g., Round Robin, Least Connections).
Consider session persistence requirements for user sessions.
Implement health checks to monitor server availability.
Ensure scalability to handle increased traffic (e.g., horizontal scaling).
Choose between hardware vs. software load balan...
Designing a MapReduce program involves defining the problem, data, and implementing map and reduce functions.
1. Define the problem: Identify the specific task you want to accomplish, such as counting word occurrences in a large dataset.
2. Understand the data: Analyze the input data format and structure, e.g., text files, JSON, or CSV.
3. Design the Map function: Create a function that processes input data and emits key-...
based on 2 interview experiences
based on 1 review
Rating in categories
Deputy Manager
157
salaries
| ₹13 L/yr - ₹20 L/yr |
Manager
143
salaries
| ₹15 L/yr - ₹26 L/yr |
Assistant Manager
141
salaries
| ₹9.9 L/yr - ₹17 L/yr |
Design Engineer
93
salaries
| ₹5.9 L/yr - ₹14.2 L/yr |
Quality Engineer
92
salaries
| ₹1.8 L/yr - ₹5.5 L/yr |
John Deere
Cummins
ABB
Caterpillar Inc