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.
Example: function outer() { let x = 10; return function inner() { return x; }; }
Closures are often used for data encapsulation and creating private variables.
They are also usef...
The spread operator expands iterable elements into individual elements, simplifying array and object manipulation in JavaScript.
Syntax: The spread operator is represented by three dots (...).
Example with arrays: const arr1 = [1, 2]; const arr2 = [...arr1, 3]; // arr2 is [1, 2, 3]
Example with objects: const obj1 = { a: 1 }; const obj2 = { ...obj1, b: 2 }; // obj2 is { a: 1, b: 2 }
Useful for merging arrays or object...
Deadlocking in SQL occurs when two or more transactions are waiting for each other to release locks, causing them to be stuck indefinitely.
Deadlocking happens when two transactions each have a lock on a resource that the other transaction needs.
It can lead to a situation where neither transaction can proceed, causing a deadlock.
Deadlocks can be resolved by setting appropriate isolation levels, using timeouts, or r...
Facts are measurable data points while dimensions provide context to the facts in a data model.
Facts are quantitative data that can be measured or counted.
Dimensions provide context to the facts and are descriptive attributes that help categorize or filter the data.
For example, in a sales data model, the fact could be total revenue while dimensions could include product category, region, and time period.
Jest is a popular JavaScript testing framework for unit testing
Jest is commonly used for testing JavaScript code, including React applications
It provides a simple and easy-to-use API for writing tests
Jest can be used to test functions, components, and modules
It includes features like mocking, snapshot testing, and code coverage reports
ES6 features include arrow functions, classes, template literals, destructuring, and more.
Arrow functions provide a more concise syntax for writing functions.
Classes allow for easier creation of object-oriented code.
Template literals enable easier string interpolation and multiline strings.
Destructuring simplifies extracting values from arrays and objects.
Let and const provide block-scoped variables.
Design a system for handling user authentication and authorization in a web application.
Use OAuth for authentication to allow users to log in using their existing accounts from providers like Google, Facebook, etc.
Implement role-based access control (RBAC) for authorization to define different levels of access for different users.
Store user credentials securely using hashing algorithms like bcrypt.
Use JSON Web Tok...
Associations/relations in Rails refer to the way different models are connected to each other.
Rails associations are used to define relationships between different models in a Rails application.
There are different types of associations in Rails such as belongs_to, has_one, has_many, and has_and_belongs_to_many.
Associations are defined using ActiveRecord macros in the model files.
For example, a User model may have ...
I applied via Company Website and was interviewed in Jul 2024. There was 1 interview round.
Deadlocking in SQL occurs when two or more transactions are waiting for each other to release locks, causing them to be stuck indefinitely.
Deadlocking happens when two transactions each have a lock on a resource that the other transaction needs.
It can lead to a situation where neither transaction can proceed, causing a deadlock.
Deadlocks can be resolved by setting appropriate isolation levels, using timeouts, or redesi...
Facts are measurable data points while dimensions provide context to the facts in a data model.
Facts are quantitative data that can be measured or counted.
Dimensions provide context to the facts and are descriptive attributes that help categorize or filter the data.
For example, in a sales data model, the fact could be total revenue while dimensions could include product category, region, and time period.
Design a system for handling user authentication and authorization in a web application.
Use OAuth for authentication to allow users to log in using their existing accounts from providers like Google, Facebook, etc.
Implement role-based access control (RBAC) for authorization to define different levels of access for different users.
Store user credentials securely using hashing algorithms like bcrypt.
Use JSON Web Tokens (...
Associations/relations in Rails refer to the way different models are connected to each other.
Rails associations are used to define relationships between different models in a Rails application.
There are different types of associations in Rails such as belongs_to, has_one, has_many, and has_and_belongs_to_many.
Associations are defined using ActiveRecord macros in the model files.
For example, a User model may have many ...
I appeared for an interview before Jun 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.
Example: function outer() { let x = 10; return function inner() { return x; }; }
Closures are often used for data encapsulation and creating private variables.
They are also useful in...
The spread operator expands iterable elements into individual elements, simplifying array and object manipulation in JavaScript.
Syntax: The spread operator is represented by three dots (...).
Example with arrays: const arr1 = [1, 2]; const arr2 = [...arr1, 3]; // arr2 is [1, 2, 3]
Example with objects: const obj1 = { a: 1 }; const obj2 = { ...obj1, b: 2 }; // obj2 is { a: 1, b: 2 }
Useful for merging arrays or objects, an...
FRD preparation based on the provided case study
I applied via Approached by Company and was interviewed in Aug 2022. There were 3 interview rounds.
I applied via LinkedIn and was interviewed before Apr 2023. There was 1 interview round.
ES6 features include arrow functions, classes, template literals, destructuring, and more.
Arrow functions provide a more concise syntax for writing functions.
Classes allow for easier creation of object-oriented code.
Template literals enable easier string interpolation and multiline strings.
Destructuring simplifies extracting values from arrays and objects.
Let and const provide block-scoped variables.
Jest is a popular JavaScript testing framework for unit testing
Jest is commonly used for testing JavaScript code, including React applications
It provides a simple and easy-to-use API for writing tests
Jest can be used to test functions, components, and modules
It includes features like mocking, snapshot testing, and code coverage reports
Top trending discussions
based on 8 interview experiences
Difficulty level
Duration
based on 39 reviews
Rating in categories
Senior Software Engineer
36
salaries
| ₹5.2 L/yr - ₹8.1 L/yr |
Software Engineer
19
salaries
| ₹2 L/yr - ₹9.3 L/yr |
System Engineer
9
salaries
| ₹2.7 L/yr - ₹5.1 L/yr |
Associate Group Lead
8
salaries
| ₹8 L/yr - ₹11 L/yr |
Business Development Executive
8
salaries
| ₹3.6 L/yr - ₹4.9 L/yr |
Maxgen Technologies
JoulestoWatts Business Solutions
Value Point Systems
F1 Info Solutions and Services