i
Lucent
Innovation
Filter interviews by
Closures are functions that retain access to their lexical scope, even when executed outside that scope.
A closure is created when a function is defined inside another function.
Closures can access variables from their parent function's scope.
They help in data encapsulation and maintaining state.
Example: function outer() { let count = 0; return function inner() { count++; return count; }; }
Closures are commonly used...
JavaScript has three main types of variables: var, let, and const, each with different scopes and mutability.
var: Function-scoped or globally-scoped. Example: var x = 10;
let: Block-scoped and can be updated. Example: let y = 20;
const: Block-scoped and cannot be reassigned. Example: const z = 30;
Convert decimal to binary without using inbuilt functions
Create an empty array to store binary digits
Use a while loop to divide the decimal number by 2 and store the remainder in the array
Reverse the array to get the binary representation
Use a hash map to find duplicate elements in an array of strings.
Create an empty hash map to store elements and their frequencies.
Iterate through the array and for each element, check if it exists in the hash map. If it does, increment its frequency. If not, add it to the hash map.
After iterating through the array, filter out elements with frequency greater than 1 to find duplicates.
Promises in Node.js are objects representing the eventual completion or failure of an asynchronous operation.
Promises are used to handle asynchronous operations in a more readable and manageable way.
They can be in one of three states: pending, fulfilled, or rejected.
Promises can be chained together using .then() to handle success or failure.
They help avoid callback hell and make code more maintainable.
Example: con...
Callbacks are functions passed as arguments to other functions, to be executed later.
Callbacks are commonly used in asynchronous programming in Node.js.
They allow functions to be executed after another function has finished its execution.
Callbacks can be used to handle events, make API calls, or perform other tasks asynchronously.
Example: fs.readFile('file.txt', (err, data) => { console.log(data); });
Closures are functions that have access to variables from their outer scope even after the outer function has finished executing.
Closures allow functions to access variables from their parent function even after the parent function has returned.
They help in maintaining state in JavaScript.
Closures are created whenever a function is defined within another function.
Hoisting is a JavaScript mechanism where variable and function declarations are moved to the top of their containing scope.
Variable and function declarations are hoisted to the top of their scope during the compilation phase.
Only declarations are hoisted, not initializations.
Function declarations take precedence over variable declarations.
Closures are functions that have access to variables from their outer scope even after the outer function has finished executing.
Closures allow functions to access variables from their parent function even after the parent function has returned.
They help in maintaining state in JavaScript.
Closures are created whenever a function is defined within another function.
Promises in Node.js are objects representing the eventual completion or failure of an asynchronous operation.
Promises are used to handle asynchronous operations in a more readable and manageable way.
They can be in one of three states: pending, fulfilled, or rejected.
Promises can be chained together using .then() to handle success or failure.
They help avoid callback hell and make code more maintainable.
Example: const my...
Callbacks are functions passed as arguments to other functions, to be executed later.
Callbacks are commonly used in asynchronous programming in Node.js.
They allow functions to be executed after another function has finished its execution.
Callbacks can be used to handle events, make API calls, or perform other tasks asynchronously.
Example: fs.readFile('file.txt', (err, data) => { console.log(data); });
Hoisting is a JavaScript mechanism where variable and function declarations are moved to the top of their containing scope.
Variable and function declarations are hoisted to the top of their scope during the compilation phase.
Only declarations are hoisted, not initializations.
Function declarations take precedence over variable declarations.
I applied via Campus Placement and was interviewed in Nov 2024. There were 3 interview rounds.
A online platform was given along with timer. There were 25 aptitude questions with negative marking.
A basic coding question was given
Convert decimal to binary without using inbuilt functions
Create an empty array to store binary digits
Use a while loop to divide the decimal number by 2 and store the remainder in the array
Reverse the array to get the binary representation
Use a hash map to find duplicate elements in an array of strings.
Create an empty hash map to store elements and their frequencies.
Iterate through the array and for each element, check if it exists in the hash map. If it does, increment its frequency. If not, add it to the hash map.
After iterating through the array, filter out elements with frequency greater than 1 to find duplicates.
I appeared for an interview before Mar 2024, where I was asked the following questions.
Closures are functions that retain access to their lexical scope, even when executed outside that scope.
A closure is created when a function is defined inside another function.
Closures can access variables from their parent function's scope.
They help in data encapsulation and maintaining state.
Example: function outer() { let count = 0; return function inner() { count++; return count; }; }
Closures are commonly used in c...
JavaScript has three main types of variables: var, let, and const, each with different scopes and mutability.
var: Function-scoped or globally-scoped. Example: var x = 10;
let: Block-scoped and can be updated. Example: let y = 20;
const: Block-scoped and cannot be reassigned. Example: const z = 30;
I applied via Approached by Company and was interviewed in Jan 2023. There were 3 interview rounds.
I had a 6-month internship at XYZ Company where I gained valuable experience in business development.
Worked closely with the sales team to identify potential clients and develop strategies to attract them
Conducted market research to identify new business opportunities
Assisted in creating marketing materials and presentations for client meetings
Participated in meetings with clients to understand their needs and provide ...
Managing client expectations involves clear communication, setting realistic goals, and regular updates.
Establish open and honest communication with clients
Clearly define project scope, timeline, and deliverables
Set realistic goals and manage client expectations accordingly
Regularly update clients on progress and any changes
Address any concerns or issues promptly and professionally
Provide clear and transparent feedback
...
Top trending discussions
npm is the package manager for Node.js, enabling developers to install, share, and manage dependencies in their applications.
npm stands for Node Package Manager.
It allows developers to install libraries and tools from the npm registry.
Example: To install Express, you can run 'npm install express'.
npm also manages project dependencies through a 'package.json' file.
You can publish your own packages to the npm registry fo...
posted on 13 Jan 2021
I applied via Referral and was interviewed before Jan 2020. There was 1 interview round.
We are using a variety of technologies, including some of the latest ones.
We are using React for our front-end development.
We are also using Node.js for our back-end development.
We are using Docker for containerization.
We are using Kubernetes for orchestration.
We are using AWS for cloud hosting.
We are constantly evaluating new technologies to see if they can improve our development process.
It depends on the specific requirements and constraints of the project.
Consider the project's goals and objectives
Evaluate the available technologies and their capabilities
Assess the project's budget and timeline
Consult with stakeholders and experts in the field
Examples: React vs Angular, MySQL vs MongoDB, Java vs Python
I applied via Company Website and was interviewed before Dec 2019. There were 3 interview rounds.
I applied via Company Website and was interviewed in Jul 2023. There were 4 interview rounds.
I have given the coding test in python language. Out of 5 questions, we have to attain a minimum of 3 questions.
I appeared for an interview in Apr 2025, where I was asked the following questions.
based on 5 interview experiences
Difficulty level
Duration
based on 43 reviews
Rating in categories
3-4 Yrs
Not Disclosed
3-6 Yrs
Not Disclosed
3-6 Yrs
Not Disclosed
Software Developer
14
salaries
| ₹2 L/yr - ₹6 L/yr |
Software Engineer Level 1
7
salaries
| ₹3.6 L/yr - ₹5 L/yr |
Software Engineer
5
salaries
| ₹3 L/yr - ₹5.5 L/yr |
Java Developer
5
salaries
| ₹4 L/yr - ₹6.3 L/yr |
Front end Developer
5
salaries
| ₹3 L/yr - ₹5 L/yr |
Zidio Development
Northcorp Software
Accel Frontline
Elentec Power India (EPI) Pvt. Ltd.