Filter interviews by
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...
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
Gainsight interview questions for popular designations
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
Get interview-ready with Top Gainsight Interview Questions
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 -
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