i
Enabled Analytics
Filter interviews by
posted on 17 Jan 2025
I applied via Job Portal and was interviewed in Apr 2021. There was 1 interview round.
I applied via LinkedIn and was interviewed in May 2021. There were 4 interview rounds.
I applied via Company Website and was interviewed in May 2021. There were 5 interview rounds.
I applied via Referral and was interviewed in Aug 2021. There was 1 interview round.
Find k min elements in given array.
Sort the array and return the first k elements.
Use a min heap of size k to find the k min elements.
Use quickselect algorithm to find the kth smallest element and return first k elements smaller than it.
Check if a given tree is a Binary Search Tree (BST) or not.
Traverse the tree in-order and check if the elements are in ascending order.
Check if the maximum value in the left subtree is less than the root and the minimum value in the right subtree is greater than the root.
Use recursion to check if all subtrees are BSTs.
Time complexity: O(n), Space complexity: O(h) where h is the height of the tree.
Given a BST and a sum, find a pair of nodes whose values add up to the given sum.
Traverse the BST in-order and store the nodes in a list
Use two pointers approach to find the pair with the given sum
If the sum is less than the current pair, move the right pointer to the left
If the sum is greater than the current pair, move the left pointer to the right
If the sum is equal to the current pair, return the pair
Time complexit
based on 4 interviews
Interview experience
based on 2 reviews
Rating in categories
Software Engineer
6
salaries
| ₹3 L/yr - ₹6 L/yr |
Senior Software Engineer
5
salaries
| ₹13.5 L/yr - ₹18 L/yr |
Senior Technical Lead
3
salaries
| ₹33 L/yr - ₹38 L/yr |
Fractal Analytics
Mu Sigma
Tiger Analytics
LatentView Analytics