i
Encora
Filter interviews by
I applied via Recruitment Consulltant and was interviewed in Aug 2024. There was 1 interview round.
Top trending discussions
I applied via LinkedIn and was interviewed in Dec 2024. There was 1 interview round.
Remove duplicates from array of strings without using set.
Iterate through the array and compare each element with all other elements to find duplicates.
Create a new array and add elements only if they are not already present in the new array.
I applied via Approached by Company and was interviewed in Feb 2024. There were 3 interview rounds.
Project Architecture, Cloud Items, Load balancing etc.
I applied via Naukri.com and was interviewed in Dec 2022. There were 2 interview rounds.
MVC Lifecycle is the sequence of events that occur in the Model-View-Controller architectural pattern.
MVC stands for Model-View-Controller.
The lifecycle starts with a user request.
The controller receives the request and processes it.
The controller updates the model with the necessary data.
The view is then updated with the updated model data.
The updated view is sent back to the user as a response.
Creating Threads in Java
Extending the Thread class and overriding the run() method
Implementing the Runnable interface and passing it to a Thread constructor
Using Executor framework to create and manage threads
Using Callable and Future interfaces to create threads that return values
HashMap is a data structure that stores key-value pairs. List is a collection of ordered elements.
HashMap allows fast retrieval of values based on keys.
List maintains the order of elements and allows duplicates.
HashMap uses hashing to store and retrieve elements.
List uses indexing to access elements.
HashMap is not thread-safe while List is thread-safe.
Example: HashMap
HashMap is a non-synchronized implementation of Map interface while HashTree is a synchronized implementation of Map interface.
HashMap is faster than HashTree as it is non-synchronized.
HashTree is thread-safe while HashMap is not.
HashMap allows one null key and multiple null values while HashTree does not allow null keys or values.
HashTree maintains the order of elements while HashMap does not.
HashMap is generally used...
The class used to connect with the Database depends on the programming language and framework being used.
In Java, the class used is usually DriverManager or DataSource.
In Python, the class used is usually psycopg2 or mysql-connector.
In PHP, the class used is usually PDO or mysqli.
The specific class used may also depend on the type of database being used, such as MySQL, PostgreSQL, or MongoDB.
Classes needed to create a GET REST API
Controller class to handle the request
Service class to perform business logic
Repository class to interact with database
Model class to define data structure
RequestMapping annotation to map the URL
An interface is a blueprint of a class. Default method is a method in an interface with a default implementation.
An interface defines a set of methods that a class must implement
Default method provides a default implementation for a method in an interface
Default methods were introduced in Java 8
Default methods can be overridden by implementing classes
An interface is used to define a contract between two components in a system.
An interface defines a set of methods that a class must implement.
Interfaces are used to achieve abstraction and loose coupling.
Interfaces are used to create reusable code.
Interfaces are used to enable polymorphism.
Interfaces are used in many programming languages, including Java, C#, and TypeScript.
Polymorphism is the ability of an object to take on many forms.
Polymorphism allows objects of different classes to be treated as if they are objects of the same class.
It can be achieved through method overloading and method overriding.
Example: A parent class Animal can have multiple child classes like Dog, Cat, and Cow. All these child classes can have their own implementation of the method 'makeSound', which can be ca...
I applied via Naukri.com and was interviewed in Nov 2021. There were 3 interview rounds.
Ref and out are both used to pass arguments by reference in C#. Ref is bidirectional while out is unidirectional.
Ref is used to pass a variable by reference and can be read and modified within the method.
Out is used to pass a variable by reference and must be assigned a value within the method.
Ref can be used to pass a variable as an argument to a method and return a value.
Out is used to return multiple values from a m...
Yes, async can be used without await.
Async functions return a promise, which can be handled without using await.
Using async without await can be useful for error handling or logging.
However, it is important to handle the promise returned by the async function.
A property is a value associated with an object, while a variable is a named storage location for a value.
Properties are accessed using dot notation or bracket notation
Variables are declared using keywords like var, let, or const
Properties are defined within an object literal or added to an object dynamically
Variables can be reassigned to different values
Example: object.property vs var variableName
I applied via Campus Placement and was interviewed in Nov 2024. There were 3 interview rounds.
Logical reasoning, grammar, and coding: two basic level questions.
I appreciate the collaborative team environment and innovative projects at my current company, and I am excited about the opportunities for growth and learning at your organization.
Collaborative team environment fosters creativity and productivity
Innovative projects challenge me to learn and grow
Excited about the opportunities for growth and learning at your organization
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
Design and code a REST API for a software developer interview.
Define the endpoints and HTTP methods for the API (e.g. GET /users, POST /users)
Implement authentication and authorization mechanisms (e.g. JWT tokens)
Use proper status codes for responses (e.g. 200 OK, 401 Unauthorized)
Include error handling and validation for input data
Document the API using tools like Swagger or OpenAPI
Calculate word frequency using Stream API and lambda expressions
Use Stream API to convert array of strings to stream
Use Collectors.groupingBy to group words by their frequency
Use Collectors.counting to count the occurrences of each word
posted on 18 Sep 2024
I applied via Shine and was interviewed in Aug 2024. There were 2 interview rounds.
Normal coding round with simple oa complexity
based on 2 reviews
Rating in categories
Senior Software Engineer
746
salaries
| ₹9.9 L/yr - ₹36 L/yr |
Technical Lead
745
salaries
| ₹15 L/yr - ₹46 L/yr |
Software Engineer
269
salaries
| ₹4.5 L/yr - ₹16.8 L/yr |
Software Developer
147
salaries
| ₹3 L/yr - ₹13.5 L/yr |
QA Lead
129
salaries
| ₹10 L/yr - ₹33.4 L/yr |
TCS
Infosys
Wipro
HCLTech