Filter interviews by
Arrays are collections of elements of the same data type, accessed by index.
Arrays have a fixed size determined at initialization.
Elements in an array are accessed by their index, starting from 0.
Arrays can store primitive data types or objects.
Example: String[] names = new String[5];
Top trending discussions
I applied via Referral
.Net Core is a free, open-source, cross-platform framework for building modern, cloud-based, internet-connected applications.
Developed by Microsoft as the successor to the .NET Framework
Supports multiple operating systems like Windows, macOS, and Linux
Provides high performance and scalability for web applications
Includes a modular and lightweight runtime called CoreCLR
Allows developers to use C#, F#, and Visual Basic
Microservices offer benefits such as scalability, flexibility, and easier maintenance.
Scalability: Microservices allow for individual components to be scaled independently, leading to better resource utilization.
Flexibility: Each microservice can be developed, deployed, and updated independently, allowing for more flexibility in the development process.
Easier maintenance: With microservices, it is easier to identify an...
ViewBag and ViewData are used in ASP.NET MVC to pass data from controller to view.
ViewBag is a dynamic property that allows you to pass data from controller to view.
ViewData is a dictionary object that allows you to pass data from controller to view.
ViewBag is a dynamic object while ViewData is a dictionary object.
Example: ViewBag.Title = 'Home Page'; ViewData['Message'] = 'Welcome to my website';
CORS stands for Cross-Origin Resource Sharing, a security feature that allows servers to specify who can access their resources.
CORS is a security feature implemented by browsers to prevent unauthorized access to resources on a different origin.
It allows servers to specify which origins are allowed to access their resources through HTTP headers.
CORS is commonly used to enable cross-origin requests in web applications, ...
JWT is a compact, self-contained way to securely transmit information between parties as a JSON object.
JWT stands for JSON Web Token.
It consists of three parts: header, payload, and signature.
It is commonly used for authentication and information exchange in web development.
Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf3
Middleware is software that acts as a bridge between an application's front end and back end, allowing them to communicate and interact.
Middleware can handle tasks such as authentication, logging, error handling, and routing.
It can be used to modify incoming requests or outgoing responses.
Examples of middleware include Express.js middleware in Node.js applications and ASP.NET middleware in .NET applications.
Dependency Injection is a design pattern where components are given their dependencies rather than creating them internally.
Allows for better code reusability and testability
Reduces coupling between components
Promotes separation of concerns
Examples: Constructor Injection, Setter Injection, Interface Injection
Solid Principles are a set of five design principles for writing clean, maintainable, and scalable code.
Single Responsibility Principle: A class should have only one reason to change.
Open/Closed Principle: Classes should be open for extension but closed for modification.
Liskov Substitution Principle: Objects of a superclass should be replaceable with objects of its subclasses without affecting the program's correctness...
posted on 21 Jun 2024
HashMap is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values.
HashMap internally uses an array of linked lists to store key-value pairs.
When a key-value pair is added, the key is hashed to find the index in the array where it will be stored.
If multiple keys hash to the same index, a linked list is used to handle collisions.
HashMap allows one null key and multiple null values.
Th...
Singleton class is a class that can only have one instance and provides a global point of access to it.
Singleton class restricts the instantiation of a class to one object.
It provides a way to access its unique instance globally.
Commonly used in scenarios where only one instance of a class is needed, such as database connections or thread pools.
The task is to find all pairs in an array that add up to a given sum.
Iterate through the array and store each element in a hash set.
For each element, check if the difference between the sum and the element exists in the hash set.
If it does, add the pair to the result list.
I applied via Walk-in and was interviewed in Apr 2024. There were 2 interview rounds.
One question on Java on reversing only the numbers in an array
One question on React to build search component
posted on 23 Apr 2024
Middleware in Node.js is a function that has access to the request and response objects, and can modify or terminate the request-response cycle.
Middleware functions are executed sequentially in the order they are defined.
They can be used for tasks such as logging, authentication, error handling, etc.
Example: Express.js uses middleware extensively for handling requests.
posted on 4 Jul 2023
Promises are used for a single async operation while observables handle multiple async operations and can be cancelled.
Promises are eager, meaning they start immediately upon creation.
Observables are lazy, meaning they only start when subscribed to.
Promises can only handle a single value or error, while observables can handle multiple values over time.
Observables can be cancelled, while promises cannot be cancelled.
Pro...
Angular and React are both popular front-end frameworks, but they have some key differences in terms of architecture, syntax, and ecosystem.
Angular is a full-fledged framework with a steep learning curve, while React is a library that is more flexible and easier to learn.
Angular uses two-way data binding, while React uses one-way data flow.
Angular has a more opinionated architecture and provides more out-of-the-box fea...
posted on 18 Aug 2022
Basic level of maths and some coding related questions
On current affairs and daily routine
Two basic questions related to pattern string array etc
based on 1 interview
Interview experience
Software Developer
285
salaries
| ₹2 L/yr - ₹10 L/yr |
Business Analyst
101
salaries
| ₹2 L/yr - ₹10.2 L/yr |
Senior Software Developer
83
salaries
| ₹5 L/yr - ₹15 L/yr |
Senior Software Engineer
69
salaries
| ₹5.8 L/yr - ₹15 L/yr |
Salesforce Developer
57
salaries
| ₹1.7 L/yr - ₹9.6 L/yr |
TCS
Infosys
Wipro
HCLTech