Filter interviews by
I applied via Approached by Company and was interviewed before May 2023. There was 1 interview round.
Promise is an object representing the eventual completion or failure of an asynchronous operation.
Promises are used to handle asynchronous operations in JavaScript.
A Promise can be in one of three states: pending, fulfilled, or rejected.
Promises can be chained using .then() method to handle success and failure.
Example: new Promise((resolve, reject) => { ... }).then(result => { ... }).catch(error => { ... });
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
Hoisting is a JavaScript behavior where variable and function declarations are moved to the top of their containing scope during the compilation phase.
Variable and function declarations are hoisted to the top of their scope.
Only declarations are hoisted, not initializations.
Function declarations take precedence over variable declarations.
Example: console.log(x); var x = 5; // Output: undefined
Event loop is a mechanism in programming that allows for asynchronous execution of code.
Event loop is commonly used in JavaScript to handle asynchronous operations.
It allows for non-blocking I/O operations by continuously checking the event queue.
Event loop ensures that the program does not get stuck waiting for a single operation to complete.
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
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
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
Middleware is software that acts as a bridge between different applications or components, allowing them to communicate and work together.
Middleware facilitates communication between different software components
It can handle tasks such as data conversion, security, and logging
Examples include message brokers like RabbitMQ, web servers like Apache Tomcat, and API gateways like Kong
Debugging memory leaks involves identifying the source of the leak and fixing it to free up memory.
Use memory profiling tools like Valgrind or Instruments to detect memory leaks
Check for unreleased memory allocations in the code
Look for circular references or retain cycles in object-oriented programming languages
Use tools like LeakSanitizer in C/C++ programs to detect memory leaks
Review code for potential memory leaks,
I applied via Referral and was interviewed before May 2023. There were 2 interview rounds.
I applied via Walk-in and was interviewed in Apr 2021. There were 4 interview rounds.
I applied via Naukri.com and was interviewed in Apr 2021. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Oct 2020. There were 4 interview rounds.
I appeared for an interview before Dec 2020.
Round duration - 90 Minutes
Round difficulty - Medium
2 coding questions and 20 mcq
You are given a grid containing oranges where each cell of the grid can contain one of the three integer values:
Find the minimum time required to rot all fresh oranges in a grid.
Use Breadth First Search (BFS) to simulate the rotting process.
Track the time taken to rot all oranges and return -1 if any fresh oranges remain.
Handle edge cases like no fresh oranges or all oranges already rotten.
Consider using a queue to efficiently process adjacent oranges.
Ensure to update the grid with the new state of oranges after each second.
Given a natural number N
, return the sum of all its proper divisors.
A proper divisor of Y
is defined as a number X
such that X < Y
and Y % X = 0
.
T...
Calculate the sum of proper divisors of a given natural number.
Iterate from 1 to sqrt(N) and check for divisors
If a divisor is found, add it to the sum and also add N/divisor if it is not the same as divisor
Return the sum as the result
Round duration - 45 Minutes
Round difficulty - Medium
Technical interview
Given an array ARR
consisting of non-negative integers, rearrange the numbers to form the largest possible number. The digits within each number cannot be changed.
Rearrange the array elements to form the largest possible number by concatenating them.
Sort the array elements in a custom comparator function to get the largest number.
Convert the sorted array elements to strings and concatenate them to form the final number.
Handle cases where the numbers have the same prefix by comparing the concatenated forms.
Tip 1 : Be clear about whatever you have mentioned in resume, don't mention buzz words, because interviewer can go in depth
Tip 2 : Along with DS and Algo, if you have 3-4 months experience or internship experience, then be ready to answer scenario based technical questions like scaling the application that you developed and design concepts that can be used for improving
Tip 3 : Last but most important tip is to be calm through out the whole process ,don't loose hope if any round didn't go well ,if you have explained your thought process there is still chance to procees to next round so keep preparating for next rounds.
Tip 1 : Keep it one page resume and mention keywords which align with your technical and personal competencies.
Tip 2 : Mention 3-4 projects in the order that , project which you can explain best should be at top,then the next, and so on.
I applied via Campus Placement and was interviewed before Jun 2021. There were 3 interview rounds.
Round 1 is quit easy , only verbal ability is little bit difficult. So anyone can easy to qualify round.
I applied via Referral and was interviewed in Dec 2020. There were 3 interview rounds.
I applied via Recruitment Consultant and was interviewed in Mar 2021. There was 1 interview round.
based on 3 interviews
Interview experience
Software Engineer
4
salaries
| ₹13 L/yr - ₹30 L/yr |
Technical Lead
4
salaries
| ₹24.1 L/yr - ₹38 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