Filter interviews by
I was interviewed in Apr 2021.
Round duration - 45 minutes
Round difficulty - Medium
Technical round with questions on Javascript mainly.
Calling a function using the new keyword creates a new instance of the function's constructor.
Creates a new empty object
Binds 'this' to the new object
Adds a property to the new object called '__proto__' which points to the constructor function's prototype object
Returns the new object
You can import all exports of a file as an object in JavaScript using the 'import * as' syntax.
Use the 'import * as' syntax followed by the object name and 'from' keyword to import all exports of a file as an object.
For example: import * as myExports from './myFile.js';
You can then access the exports using dot notation, like myExports.myFunction().
The 'this' operator in JavaScript refers to the current context or object.
Refers to the current object or context in which a function is being executed
Can be used to access properties and methods of the current object
The value of 'this' is determined by how a function is called
Arrow functions are a concise way to write functions in JavaScript.
Arrow functions are defined using the '=>' syntax.
They have a shorter syntax compared to traditional function expressions.
They do not have their own 'this' keyword, instead they inherit it from the parent scope.
Example: const add = (a, b) => a + b;
Round duration - 45 minutes
Round difficulty - Easy
Technical round with questions on Angular mainly.
AOT compilation in Angular stands for Ahead-of-Time compilation, which compiles Angular templates and components during the build process.
AOT compilation improves the performance of Angular applications by pre-compiling the templates and components before the browser downloads and runs them.
It detects template errors during the build process rather than at runtime, leading to faster rendering and reduced bundle size.
AO...
Observables are streams that can emit multiple values over time, while promises can only emit a single value.
Observables can emit multiple values over time, while promises can only emit a single value.
Observables are cancellable, while promises are not.
Observables support operators like map, filter, and reduce for transforming data streams, while promises do not.
Observables are lazy, meaning they do not run until they ...
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
posted on 1 Apr 2021
I applied via Naukri.com and was interviewed in Mar 2021. There was 1 interview round.
Find triplet in an array to sum up to a given number.
Sort the array in ascending order.
Iterate through the array and fix the first element.
Use two pointers approach to find the other two elements that sum up to the given number.
Printing a star pattern using loops in programming.
Use nested loops to print the pattern
The outer loop controls the number of rows
The inner loop controls the number of stars to be printed in each row
Use string concatenation to build the pattern
Example: for a pattern with 5 rows, the first row will have 1 star, the second row will have 2 stars, and so on
SQL query to find aggregate salary for a division
Use the GROUP BY clause to group the employees by division
Use the SUM function to calculate the total salary for each division
Include the division column in the SELECT statement
Example: SELECT division, SUM(salary) AS total_salary FROM employees GROUP BY division
Abstract class is a class that can have both abstract and non-abstract methods while Interface only has abstract methods.
Abstract class can have constructors while Interface cannot.
A class can implement multiple interfaces but can only inherit from one abstract class.
Abstract class can have instance variables while Interface cannot.
Abstract class can provide default implementation for some methods while Interface canno...
Print the nodes at the boundaries of a binary tree (leaf nodes + top view).
Traverse the tree in pre-order and keep track of the level of each node
Add the leftmost and rightmost nodes of each level to the result
For top view, traverse the tree in level-order and add the first node of each level to the result
Find minimum bombs to clear matrix by cascading impact to adjacent cells with value 1 greater than the bombed cell.
Create a 2D matrix of integers
Iterate through each cell and drop a bomb, then check its adjacent cells
If an adjacent cell has value 1 greater than the bombed cell, drop a bomb on that cell as well
Repeat until no more cells can be bombed
Count the number of bombs dropped to clear the matrix
Dependency Injection & IOC in Spring
Dependency Injection is a design pattern that allows objects to be loosely coupled and easily testable
In Spring, IOC (Inversion of Control) is used to manage dependencies and inject them into objects at runtime
IOC container in Spring is responsible for creating and managing objects and their dependencies
Spring supports different types of dependency injection such as constructor injec
Gainsight interview questions for popular designations
Top trending discussions
Some of the top questions asked at the Gainsight interview -
based on 26 interviews
Interview experience
based on 105 reviews
Rating in categories
Software Engineer
106
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
81
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Software Engineer
43
salaries
| ₹0 L/yr - ₹0 L/yr |
Lead Software Engineer
25
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Solution Engineer
24
salaries
| ₹0 L/yr - ₹0 L/yr |
Freshworks
Zoho
Chargebee
MindTickle