Filter interviews by
I appeared for an interview before Mar 2023.
Top trending discussions
I appeared for an interview in Dec 2016.
A friend function is a non-member function that has access to the private and protected members of a class.
Declared inside the class but defined outside the class scope
Can access private and protected members of the class
Not a member of the class but has access to its private members
Used to allow external functions to access and modify private data of a class
Can be declared as a friend in another class
atoi function converts a string to an integer in C.
The function takes a string as input and returns an integer.
Leading white spaces are ignored.
If the string contains non-numeric characters, the function stops conversion and returns the converted value.
The function returns 0 if the input string is not a valid integer.
Example: atoi('123') returns 123.
A program to print star pattern
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 print() or println() function to print the stars
Run time polymorphism is the ability of a program to determine the object type at runtime and call the appropriate method.
It is achieved through virtual functions and dynamic binding.
Allows for more flexible and extensible code.
Example: a base class Animal with virtual function makeSound() and derived classes Dog and Cat that override makeSound().
At runtime, if an Animal pointer points to a Dog object, calling makeSoun
Right outer join is a type of join operation that returns all the rows from the right table and the matching rows from the left table.
Right outer join is denoted by the RIGHT JOIN keyword in SQL.
It is used to combine rows from two tables based on a related column.
In the result set, unmatched rows from the right table will have NULL values for the columns of the left table.
A real-world scenario for using a right outer j...
Refrential integrity ensures that relationships between tables in a database remain consistent.
It is a database concept that ensures that foreign key values in one table match the primary key values in another table.
It prevents orphaned records in a database.
It maintains data consistency and accuracy.
For example, if a customer record is deleted, all related orders for that customer should also be deleted.
It is enforced...
Primary key uniquely identifies a record in a table, while Unique key ensures uniqueness of a column.
Primary key can't have null values, Unique key can have one null value
A table can have only one Primary key, but multiple Unique keys
Primary key is automatically indexed, Unique key is not necessarily indexed
Triggers are database objects that are automatically executed in response to certain events.
Triggers can be used to enforce business rules, audit changes, or replicate data.
There are two types of triggers: DML triggers and DDL triggers.
DML triggers are fired in response to DML statements (INSERT, UPDATE, DELETE).
DDL triggers are fired in response to DDL statements (CREATE, ALTER, DROP).
Swapping two character variables without using third
Use XOR operator to swap two variables without using third variable
Assign the XOR of both variables to the first variable
Assign the XOR of the first variable and second variable to the second variable
posted on 31 May 2017
I have been actively involved in various extra curricular activities such as volunteering, sports, and leadership roles.
Volunteered at local animal shelter every weekend
Captain of the soccer team in high school
Organized charity events for underprivileged children
posted on 14 May 2017
I appeared for an interview in Oct 2016.
I appeared for an interview before Dec 2020.
Round duration - 120 minutes
Round difficulty - Medium
Timing was in the afternoon.
The platform was easy to operate and worked on considerable speed.
Both the webcam and audio was supposed to be ON during the test duration.
We could switch between the questions of the same section in case we wanted to change the answers.
You are provided with an undirected, connected, and weighted graph G(V, E). The graph comprises V vertices (numbered from 0 to V-1) and E edges.
Determine and retu...
Find the total weight of the Minimum Spanning Tree in a graph using Kruskal's algorithm.
Implement Kruskal's algorithm to find the Minimum Spanning Tree.
Sort the edges based on their weights and add them to the MST if they don't form a cycle.
Keep track of the total weight of the MST and return it as the output.
You are provided with a 2-D plane and a set of integer coordinates. Your task is to determine the maximum number of these coordinates that can be aligned ...
Find the maximum number of points that can be aligned in a straight line on a 2-D plane.
Iterate through each pair of points and calculate the slope between them.
Store the slope in a hashmap and keep track of the frequency of each slope.
The maximum frequency of slopes + 1 gives the maximum number of points on a straight line.
Tip 1 : You should be very fluent in each and every data structure that you have studied so that you are able to answer even the trickiest question by knowing the basics. This will happen only if you have tried enough questions on different platforms.
Tip 2 : Object Oriented Programming is the easiest and the most underrated concept. In every interview I have given so far, they have asked me the OOPs concepts. I have learnt and understood each and every basic concept of OOPs, primarily from the videos of Coding Ninjas which have polished my skill in this area and now I can answer any question of this topic.
Tip 3 : The projects that you have done in your college life should be on your tips. You should know each and every little detail of it, and sometimes the interviewer may also ask what would happen if you changed some things in your project, so you should be clear with it's working and how would your project work after changing some specifications.
Tip 1 : Highlight your technical skills and write only the things from which you will be comfortable answering from.
Tip 2 : Try to maximize the number of technical achievements on the resume and minimize the extra curricular part.
I applied via Campus Placement and was interviewed before Dec 2021. There were 2 interview rounds.
Basic Aptitude like Quantitative , English and Logical Reasoning. Coding round had 4 questions - 2 SQL problems and 2 codes
I appeared for an interview in Jan 2021.
Merge sort and Quick sort are sorting algorithms while Fibonacci is a sequence of numbers.
Merge sort is a divide and conquer algorithm that divides the input array into two halves, sorts each half and then merges them.
Quick sort is also a divide and conquer algorithm that selects a pivot element and partitions the array around the pivot.
Fibonacci is a sequence of numbers where each number is the sum of the two precedin...
based on 1 interview
Interview experience
Business Consultant
11
salaries
| ₹10.2 L/yr - ₹20 L/yr |
Docketing Specialist
11
salaries
| ₹5 L/yr - ₹7.2 L/yr |
Senior Software Engineer
10
salaries
| ₹17.5 L/yr - ₹30 L/yr |
Senior QA Engineer
10
salaries
| ₹19.4 L/yr - ₹26 L/yr |
Senior Specialist
8
salaries
| ₹6 L/yr - ₹7.8 L/yr |
Clarivate
Thomson Reuters
LexisNexis
Wolters Kluwer