Filter interviews by
I applied via Approached by Company and was interviewed before May 2023. There was 1 interview round.
JS execution happens in two main phases: creation and execution.
During creation phase, variables are hoisted and memory space is allocated.
During execution phase, code is executed line by line.
JS uses a single-threaded, synchronous execution model.
Functions are first-class citizens in JS, allowing for higher-order functions and closures.
Event loop and callback queue are used for handling asynchronous operations.
Currying is a technique in JavaScript where a function with multiple arguments is transformed into a sequence of nested functions, each taking a single argument.
Currying helps in creating reusable functions and partial application.
It allows you to create new functions by pre-filling some of the arguments of an existing function.
Example: const add = (a) => (b) => a + b; const add5 = add(5); console.log(add5(3)); // Outp...
Lexical scope in JS determines the visibility of variables within a block of code based on where the variables are declared.
Variables are accessible within the block they are declared in and any nested blocks.
Variables declared outside of a block are accessible within that block and any nested blocks.
Example: function outerFunction() { let x = 10; function innerFunction() { console.log(x); } innerFunction(); } outerFun...
I applied via Campus Placement and was interviewed before May 2023. There was 1 interview round.
Top trending discussions
I applied via Naukri.com and was interviewed in Mar 2021. There were 4 interview rounds.
I appeared for an interview in Dec 2020.
Round duration - 40 minutes
Round difficulty - Easy
Given an integer array ARR
of size N
, your task is to find the total number of subsequences in which all elements are equal.
A subsequence of an array i...
Count the total number of subsequences in which all elements are equal in an integer array.
Iterate through the array and count the frequency of each element.
Calculate the total number of subsequences for each element using the formula (frequency * (frequency + 1) / 2).
Sum up the total number of subsequences for all elements and return the result modulo 10^9 + 7.
Tip 1 : Do practice as much as you can
Tip 2 : Coding is key to crack
Tip 1 : It should look nice
Tip 2 : Skills should be mentioned properly
I applied via Referral and was interviewed in Apr 2021. There were 3 interview rounds.
I applied via Company Website and was interviewed in Jan 2021. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Aug 2021. There was 1 interview round.
I applied via Campus Placement and was interviewed in Sep 2021. There was 1 interview round.
I applied via Referral and was interviewed in Apr 2021. There were 5 interview rounds.
I am currently working on developing a mobile application for a client in the hospitality industry.
The application will allow users to make reservations and order food and drinks from their mobile devices.
We are using React Native for the front-end and Node.js for the back-end.
We are also implementing a payment gateway to allow for secure transactions.
The client has requested that the app be available in both iOS and A...
based on 1 interview experience
Difficulty level
Duration
TCS
Accenture
Wipro
Cognizant