Filter interviews by
Had to check if every opening bracket has a closing pair.
Node JS uses event-driven architecture and non-blocking I/O to handle multiple requests efficiently.
Node JS uses event loop to handle multiple requests by delegating I/O operations to the system kernel asynchronously.
It can process multiple requests concurrently without getting blocked by I/O operations.
Node JS leverages callbacks and Promises to manage asynchronous operations and ensure smooth execution of code.
Exampl...
Callback hell is a situation where multiple nested callbacks make the code difficult to read and maintain.
Occurs when multiple asynchronous operations are nested within each other
Leads to deeply nested code which is hard to read and debug
Can be avoided by using promises, async/await, or libraries like async.js
Currying is a technique in functional programming where a function with multiple arguments is transformed into a sequence of functions, each taking a single argument.
Currying helps in partial application of functions.
It allows for creating reusable functions with fixed parameters.
Example: const add = a => b => a + b; add(2)(3) returns 5.
Event loop is a mechanism that allows for asynchronous programming by handling events and callbacks.
Event loop is a single-threaded mechanism that processes tasks in a non-blocking way.
It continuously checks the event queue and executes the appropriate callback functions.
Commonly used in JavaScript for handling asynchronous operations like setTimeout, setInterval, and promises.
Middleware in express.js is a function that has access to the request and response objects, and can modify them or terminate the request-response cycle.
Middleware functions can perform tasks like logging, authentication, error handling, etc.
Middleware is added using app.use() method before defining routes.
Middleware functions can also be added locally to specific routes using app.use() before the route handler.
Example:...
Top trending discussions
I applied via Naukri.com and was interviewed in Feb 2021. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before Jun 2020. There were 6 interview rounds.
I applied via Campus Placement and was interviewed before Nov 2019. There were 4 interview rounds.
Java is a high-level programming language known for its platform independence and object-oriented approach.
Java is widely used for developing desktop, web, and mobile applications.
It is known for its robustness, security, and scalability.
Java programs are compiled into bytecode that can run on any Java Virtual Machine (JVM).
It supports multithreading, exception handling, and automatic memory management.
Popular framewor...
I applied via Naukri.com and was interviewed in Sep 2020. There was 1 interview round.
I applied via Walk-in and was interviewed in Sep 2020. There was 1 interview round.
based on 1 interview experience
Senior Software Engineer
12
salaries
| ₹16 L/yr - ₹31.5 L/yr |
Technical Lead
5
salaries
| ₹35 L/yr - ₹37 L/yr |
Cloud Automation Engineer
5
salaries
| ₹15.8 L/yr - ₹19.4 L/yr |
Scrum Master
3
salaries
| ₹18.5 L/yr - ₹24 L/yr |
TCS
Accenture
Wipro
Cognizant