Filter interviews by
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
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.
SOC processes and techniques involve monitoring, detecting, and responding to cybersecurity threats.
Continuous monitoring of network traffic and system logs
Utilizing security information and event management (SIEM) tools
Implementing threat intelligence feeds for proactive defense
Incident response planning and execution
Regular security assessments and penetration testing
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 ...
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;
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 ...
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 si...
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
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
I applied via Naukri.com and was interviewed in Oct 2024. There were 2 interview rounds.
Here are some common coding interview questions and answers:
String-based questions: How to find the first unrepeated character in a string, how to determine if two strings are anagrams, or how to convert a numeric string to an integer
Array-based questions: How to find the maximum element in an array, how to sort an array of integers in ascending order, or how to remove duplicates from an array
Linked list-based questions: How to find the middle element of a linked list, how to remove a loop in a linked list, or how to merge two sorted linked lists
General programming questions: How to write a piece of code from requirements to delivery, how to debug a program while it's being used, or how to stay up-to-date with the latest technology developments
Data structure questions: What is a tree in data structure, or what is a binary tree
Palindrome questions: How to determine if a string is a palindrome
In addition to the technical aspects of coding, interviewers may also assess an applicant's communication skills. They may ask how well the applicant explains complex concepts or the method they used in a live coding exercise.
You can also watch this video to learn more about coding interview questions:
Python is a high-level programming language known for its simplicity and readability.
Python is an interpreted language, meaning code is executed line by line.
It supports multiple programming paradigms like procedural, object-oriented, and functional programming.
Python has a large standard library and a thriving community with many third-party libraries available.
It is widely used in web development, data science, artif...
Python is a versatile, easy-to-read language with a large community and extensive libraries.
Python has a simple syntax that makes it easy to learn and read.
Python has a large community of developers, making it easy to find support and resources.
Python has a wide range of libraries and frameworks for various applications, such as web development, data analysis, and machine learning.
Self-intersection occurs when a curve or surface intersects itself at a point.
Self-intersection can occur in computer graphics when rendering complex shapes.
It can also occur in geometry when analyzing curves and surfaces.
Self-intersection can lead to rendering artifacts or inaccuracies in calculations.
Coding allows me to solve complex problems, create innovative solutions, and continuously learn and improve my skills.
Coding enables me to automate tasks and processes, increasing efficiency and productivity.
It provides a creative outlet for problem-solving and allows me to build practical applications.
Coding opens up opportunities for collaboration with other developers and working on exciting projects.
It is a valuabl...
DSA and Arrays question
Linkedlist , graph and tree
SOC processes and techniques involve monitoring, detecting, and responding to cybersecurity threats.
Continuous monitoring of network traffic and system logs
Utilizing security information and event management (SIEM) tools
Implementing threat intelligence feeds for proactive defense
Incident response planning and execution
Regular security assessments and penetration testing
1hr java and selenium
It was a DS and Algo round.
Implement a queue using two stacks
Use two stacks - one for enqueue operation and one for dequeue operation
For enqueue operation, push elements into the first stack
For dequeue operation, if the second stack is empty, pop all elements from the first stack and push into the second stack, then pop from the second stack
Example: Enqueue 1,2,3 -> Stack1: [1,2,3], Dequeue -> Stack2: [3,2,1], Dequeue -> 1
I applied via Campus Placement
Basic apt questions asked along with few quiz on various cs subjects
Top trending discussions
Some of the top questions asked at the Gainsight interview -
The duration of Gainsight interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 28 interview experiences
Difficulty level
Duration
based on 114 reviews
Rating in categories
Software Engineer
127
salaries
| ₹12 L/yr - ₹21 L/yr |
Senior Software Engineer
85
salaries
| ₹16.6 L/yr - ₹28 L/yr |
Lead Software Engineer
26
salaries
| ₹26 L/yr - ₹40.5 L/yr |
Associate Software Engineer
25
salaries
| ₹9.8 L/yr - ₹16 L/yr |
Senior Solution Engineer
25
salaries
| ₹13.6 L/yr - ₹20.5 L/yr |
Xoriant
Photon Interactive
CitiusTech
Iris Software