Filter interviews by
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
Use Java 8 lambdas to covert list of employees to map
Use stream() method to convert the list to a stream
Use Collectors.toMap() method to convert the stream to a map
Specify the key and value mappings in the toMap() method
Microservices communicate through lightweight protocols like HTTP, messaging queues, and RPC.
HTTP: RESTful APIs are commonly used for communication between microservices.
Messaging queues: Services can communicate asynchronously through message brokers like RabbitMQ or Kafka.
RPC (Remote Procedure Call): Services can directly call each other's functions over a network.
Transactions across microservices can be handled using distributed transactions or compensating transactions.
Use distributed transactions to ensure all services commit or rollback together
Implement compensating transactions to handle failures and maintain data consistency
Consider using event sourcing or message queues to decouple services and ensure eventual consistency
Run time polymorphism is the ability of a method to behave differently based on the object it is called on.
Run time polymorphism is achieved through method overriding in inheritance.
It allows a subclass to provide a specific implementation of a method that is already provided by its superclass.
The actual method that gets called is determined by the type of object at runtime.
Example: Animal class has a method 'makeSound...
Singleton class in Java ensures only one instance of the class is created.
Use private constructor to prevent instantiation from outside the class.
Provide a static method to get the instance of the class.
Use a private static variable to hold the instance of the class.
posted on 14 May 2022
I applied via Naukri.com and was interviewed before May 2021. There was 1 interview round.
I applied via Walk-in and was interviewed before Apr 2020. There were 5 interview rounds.
I was interviewed before Sep 2020.
Round duration - 140 minutes
Round difficulty - Medium
Test timing was at 2:00 pm , it was conducted in a college and the environment was good for the test. Camera was a primary part of test, so no suspicious activity.
Given two numbers in the form of two arrays where each element of the array represents a digit, calculate the sum of these two numbers and return this sum as an ar...
Given two numbers represented as arrays, calculate their sum and return the result as an array.
Iterate through the arrays from right to left, adding digits and carrying over if necessary
Handle cases where one array is longer than the other by considering the remaining digits
Ensure the final sum array does not have any leading zeros
Round duration - 20 minutes
Round difficulty - Easy
The round was conducted at around 12 p.m. I was called at the college location and then it was conducted. The interviewer was quite polite and frank.
Round duration - 8 minutes
Round difficulty - Easy
This round was conducted right after finishing and clearing the technical round at the same place and on the same day.
Tip 1 : Practice atleast 2-3 Coding problems daily so your logic building becomes stronger.
Tip 2 : Exercise problems based on OOPS concepts and others too.
Tip 3 : If you can have your own project built, then it's the major point and will act as a plus point.
Tip 1 : Your resume should be in standard form, short and simple will be more effective.
Tip 2 : Whatever you have learned, you need to mention it in your resume as that will be your primary source of selection and having project on your resume is important.
I applied via Recruitment Consultant and was interviewed before Sep 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Jul 2020. There were 4 interview rounds.
I applied via Job Portal and was interviewed before Apr 2021. There was 1 interview round.
Solid principles are a set of design principles for writing maintainable and scalable code in C#.
Single Responsibility Principle (SRP) - a class should have only one reason to change
Open/Closed Principle (OCP) - a class should be open for extension but closed for modification
Liskov Substitution Principle (LSP) - derived classes should be substitutable for their base classes
Interface Segregation Principle (ISP) - client...
I applied via Campus Placement and was interviewed before May 2020. There were 4 interview rounds.
I applied via Naukri.com and was interviewed before Apr 2020. There were 5 interview rounds.
I applied via Recruitment Consultant and was interviewed before Apr 2020. There were 4 interview rounds.
based on 1 interview
Interview experience
TCS
Accenture
Wipro
Cognizant