Filter interviews by
I applied via Naukri.com and was interviewed in Jul 2021. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before Jun 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Oct 2019. There were 3 interview rounds.
I applied via tcs and was interviewed before Jun 2020. There were 4 interview rounds.
I applied via Referral and was interviewed before Sep 2020. There was 1 interview round.
I appeared for an interview in Aug 2017.
Merge Sort is a divide and conquer algorithm that sorts an array by dividing it into two halves, sorting them separately, and then merging the sorted halves.
Divide the array into two halves
Recursively sort the two halves
Merge the sorted halves
Find pairs of integers in a BST whose sum is equal to a given number.
Traverse the BST and store the values in a hash set.
For each node, check if (X - node.value) exists in the hash set.
If yes, add the pair (node.value, X - node.value) to the result.
Continue traversal until all nodes are processed.
Merge overlapping time intervals into mutually exclusive intervals.
Sort the intervals based on their start time.
Iterate through the intervals and merge overlapping intervals.
Output the mutually exclusive intervals.
Example: [(1,3), (2,6), (8,10), (15,18)] -> [(1,6), (8,10), (15,18)]
Different types of hashing and alternative for Linear Chaining
Different types of hashing include division, multiplication, and universal hashing
Alternative for Linear Chaining is Open Addressing
Open Addressing includes Linear Probing, Quadratic Probing, and Double Hashing
An AVL tree is a self-balancing binary search tree where the heights of the left and right subtrees differ by at most one.
AVL tree is a binary search tree with additional balance factor for each node.
The balance factor is the difference between the heights of the left and right subtrees.
Insertion and deletion operations in AVL tree maintain the balance factor to ensure the tree remains balanced.
Rotations are performed ...
Find the minimum number of squares whose sum equals to a given number n.
Use dynamic programming to solve the problem efficiently.
Start with finding the square root of n and check if it is a perfect square.
If not, then try to find the minimum number of squares required for the remaining number.
Repeat the process until the remaining number becomes 0.
Return the minimum number of squares required for the given number n.
Insertion sort for a singly linked list.
Traverse the list and compare each node with the previous nodes
If the current node is smaller, swap it with the previous node
Repeat until the end of the list is reached
Time complexity is O(n^2)
I appeared for an interview before Sep 2020.
Round duration - 90 minutes
Round difficulty - Hard
Exam was in the morning in 2nd shift. It was a difficult .
You need to determine the sum of even digits and odd digits separately from a given integer.
The first line of input is an integer T
representing the number of test c...
Implement a function to find the sum of even and odd digits separately in a given integer.
Iterate through each digit of the integer and check if it is even or odd.
Keep track of the sum of even and odd digits separately.
Return the sums of even and odd digits for each test case.
Round duration - 30 minutes
Round difficulty - Hard
It was in the morning and there were approx 500 candidates for interview. Interviewers were very nice and cooperative.
SQL questions related to joins
Types of joins in SQL (inner join, left join, right join, full outer join)
Difference between inner join and outer join
Common join conditions (using ON vs WHERE)
Handling NULL values in joins
Performance considerations when using joins
Round duration - 10 minutes
Round difficulty - Medium
It was in the morning and interviewer was very nice and polite.
Tip 1 : Be confident and speak politely with a smile.
Tip 2 : Groom yourself very well in a professional way.
Tip 3 : Prepare everything mentioned in your resume.
Tip 4 : Also maintain positive body language as everything get noticed in an interview.
Tip 5 : Try to work on projects and prepare it very well including synopsis of project.
Tip 6 : Prepare core subjects and important topics.
Tip 7 : prepare company related questions as well.
Tip 8 : Maintain eye contact with interviewer.
Tip 1 : Mention Projects.
Tip 2 : Mention accurate and true things only.
Tip 3 : Resume should be neat and clean.
Tip 4 : Mention your achievements in resume.
Tip 5 : Resume should not be very lengthy, it should be precise.
Tip 6 : Prepare your resume by following a proper format.
Tip 7 : Carry your resume in a file.
I applied via Newspaper Ad and was interviewed before Jun 2021. There were 3 interview rounds.
I appeared for an interview before Sep 2016.
Search an element in sorted rotated array.
Use binary search to find the pivot point where the array is rotated.
Divide the array into two subarrays and perform binary search on the appropriate subarray.
Handle the cases where the target element is at the pivot point or not present in the array.
Find the Kth largest element in an array.
Sort the array in descending order and return the element at index K-1.
Use a max heap to find the Kth largest element efficiently.
Implement a quickselect algorithm to find the Kth largest element in linear time.
Reverse a linked list in groups of n elements.
Divide the linked list into groups of n elements.
Reverse each group individually.
Connect the reversed groups to form the final linked list.
Handle cases where the number of elements is not a multiple of n.
Example: 1->2->3->4->5->6->7->8, n=3 -> 3->2->1->6->5->4->8->7
Find the median of two sorted arrays.
Merge the two arrays into one sorted array and find the median.
Use binary search to find the median in O(log(min(m, n))) time complexity.
Handle edge cases like empty arrays or arrays of different lengths.
Count number of paths from (0, 0) to (m, n) in a matrix while crossing through some indexes were not allowed.
Use dynamic programming to solve the problem
Create a 2D array to store the number of paths
Traverse the matrix and update the array based on the allowed paths
Return the value at the last index of the array
I appeared for an interview in Aug 2017.
based on 1 review
Rating in categories
HR Executive
13
salaries
| ₹2 L/yr - ₹4.5 L/yr |
Cluster Leader
10
salaries
| ₹4.3 L/yr - ₹8 L/yr |
Associate Manager
9
salaries
| ₹5 L/yr - ₹9 L/yr |
Senior Executive
6
salaries
| ₹4 L/yr - ₹4.2 L/yr |
Trainer
6
salaries
| ₹4.9 L/yr - ₹10.1 L/yr |
TCS
HCLTech
Teleperformance
Amazon