Filter interviews by
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 va...
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, ...
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
Merge sort is a divide and conquer algorithm that divides the input array into two halves, sorts them recursively, and then merges them back together in sorted order.
Divide the array into two halves
Recursively sort each half
Merge the sorted halves back together
Implement a stack using arrays with push, pop, and peek operations.
Create an array to store the elements of the stack
Implement push operation by adding elements to the end of the array
Implement pop operation by removing the last element from the array
Implement peek operation by returning the last element of the array without removing it
Calculate the amount of rainwater trapped between elevation bars after rainfall using an array representation.
Use two-pointer technique to traverse the elevation array from both ends.
Calculate the left and right maximum heights for each position.
Water trapped at each position is determined by the minimum of left and right max heights minus the height at that position.
Example: For heights [0,1,0,2,1,0,1,3,2,1,2,1],...
The Buy stock sell problem involves finding the maximum profit that can be obtained by buying and selling stocks.
Iterate through the array of stock prices
Keep track of the minimum price seen so far
Calculate the profit by subtracting the minimum price from the current price
Update the maximum profit if the calculated profit is greater
Return the maximum profit
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
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
129
salaries
| ₹10 L/yr - ₹22 L/yr |
Senior Software Engineer
85
salaries
| ₹13.5 L/yr - ₹28 L/yr |
Lead Software Engineer
26
salaries
| ₹26 L/yr - ₹40.5 L/yr |
Associate Software Engineer
25
salaries
| ₹9 L/yr - ₹16 L/yr |
Senior Solution Engineer
25
salaries
| ₹12.5 L/yr - ₹20.5 L/yr |
Xoriant
Photon Interactive
CitiusTech
Iris Software