Filter interviews by
Debugging memory leaks involves identifying and fixing areas where memory is not properly released after use.
Use tools like Valgrind or AddressSanitizer to detect memory leaks in your application.
Check for unfreed memory allocations, such as 'malloc' or 'new' without corresponding 'free' or 'delete'.
Review your code for circular references in data structures, which can prevent memory from being released.
Implement ...
EventEmitter is a class in Node.js that allows multiple functions to be attached to an event and triggered when the event is emitted.
EventEmitter is a core module in Node.js that allows communication between objects in a loosely coupled way.
It is used for handling events in Node.js applications.
Listeners can be attached to EventEmitter instances using the 'on' method and events can be emitted using the 'emit' meth...
No, you cannot declare a variable with the same name using var keyword.
Variables declared with var keyword can only be declared once within the same scope
Attempting to declare a variable with the same name using var will result in a syntax error
A Promise is an object representing the eventual completion or failure of an asynchronous operation.
Promises have three states: pending, fulfilled, and rejected.
A fulfilled promise returns a value, while a rejected promise returns an error.
Example: const myPromise = new Promise((resolve, reject) => { /* async operation */ });
You can handle results using .then() for fulfilled and .catch() for rejected promises.
E...
Hoisting is a JavaScript mechanism where variables and function declarations are moved to the top of their containing scope during compilation.
Variables declared with 'var' are hoisted, but their initialization is not. Example: console.log(x); var x = 5; // undefined
Function declarations are fully hoisted, allowing them to be called before their definition. Example: greet(); function greet() { console.log('Hello')...
Request and Response objects are created in Node.js using the 'http' module.
Require the 'http' module in your code
Use the 'http.createServer()' method to create a server
Access the request and response objects in the callback function
let, var, and const are all used to declare variables in JavaScript, but they have different scopes and behaviors.
let: block-scoped variable, can be reassigned
var: function-scoped variable, can be reassigned
const: block-scoped variable, cannot be reassigned, but its properties can be modified
Callback is a function passed as an argument to another function to be executed later. Async await is a syntax for writing asynchronous code in a synchronous manner.
Callback is used in event handling, asynchronous programming, and more.
Async await is a modern way to write asynchronous code in a synchronous style.
Example: Callback - setTimeout function in JavaScript.
Example: Async await - fetching data from an API ...
I applied via Approached by Company and was interviewed before May 2023. There was 1 interview round.
Callback is a function passed as an argument to another function to be executed later. Async await is a syntax for writing asynchronous code in a synchronous manner.
Callback is used in event handling, asynchronous programming, and more.
Async await is a modern way to write asynchronous code in a synchronous style.
Example: Callback - setTimeout function in JavaScript.
Example: Async await - fetching data from an API in Ja...
EventEmitter is a class in Node.js that allows multiple functions to be attached to an event and triggered when the event is emitted.
EventEmitter is a core module in Node.js that allows communication between objects in a loosely coupled way.
It is used for handling events in Node.js applications.
Listeners can be attached to EventEmitter instances using the 'on' method and events can be emitted using the 'emit' method.
Ex...
Request and Response objects are created in Node.js using the 'http' module.
Require the 'http' module in your code
Use the 'http.createServer()' method to create a server
Access the request and response objects in the callback function
No, you cannot declare a variable with the same name using var keyword.
Variables declared with var keyword can only be declared once within the same scope
Attempting to declare a variable with the same name using var will result in a syntax error
I applied via Referral and was interviewed before May 2023. There were 2 interview rounds.
Top trending discussions
I applied via Company Website and was interviewed before Jun 2021. There were 2 interview rounds.
First round was coding as well as aptitude done together went well I guess focusing on codes helps a lot.
I applied via Naukri.com
Amazon's innovation, customer focus, and diverse opportunities align with my career goals and values.
Customer Obsession: Amazon prioritizes customer satisfaction, evident in initiatives like Prime and personalized recommendations.
Innovation: The company is a leader in technology and logistics, constantly pushing boundaries with services like AWS and drone delivery.
Diversity of Roles: Amazon offers a wide range of caree...
I expect Amazon to foster innovation, provide growth opportunities, and maintain a customer-centric culture.
Opportunities for professional development, such as training programs and mentorship.
A collaborative work environment that encourages teamwork and idea sharing.
Access to cutting-edge technology and resources to drive innovation.
A strong focus on customer satisfaction, ensuring that every decision prioritizes the ...
I applied via Recruitment Consulltant and was interviewed before Jul 2021. There was 1 interview round.
Experienced professional with a strong educational background and clear career ambitions, eager to contribute to the company's success.
I have over 5 years of experience in project management, leading teams to successfully deliver complex projects on time.
I hold a Master's degree in Business Administration from XYZ University, where I specialized in strategic management.
My family has always emphasized the importance of ...
I applied via Naukri.com and was interviewed before Feb 2020. There were 3 interview rounds.
Workflow, trigger, reports, roles, profiles, permission set, and sharing rules are all important features in Salesforce.
Workflow is a series of automated steps that can be used to streamline business processes.
Triggers are used to execute code before or after a record is inserted, updated, or deleted.
Reports are used to display data in a visual format, such as a table or chart.
Roles are used to define the hierarchy of ...
I appeared for an interview before Jul 2020.
Yes, Infosys is listed on the Indian stock exchanges as well as on the NYSE.
Infosys is listed on the Bombay Stock Exchange (BSE) and National Stock Exchange of India (NSE)
It is also listed on the New York Stock Exchange (NYSE)
Infosys has a market capitalization of over $80 billion as of 2021
I applied via Job Fair and was interviewed before Feb 2021. There were 2 interview rounds.
based on 3 interview experiences
Difficulty level
Duration
Software Engineer
4
salaries
| ₹13 L/yr - ₹30 L/yr |
Technical Lead
4
salaries
| ₹24.1 L/yr - ₹30 L/yr |
Senior Manager-HR
3
salaries
| ₹28 L/yr - ₹38 L/yr |
Senior Software Engineer
3
salaries
| ₹18 L/yr - ₹22.1 L/yr |
TCS
Accenture
Wipro
Cognizant