Filter interviews by
I applied via Referral and was interviewed in Dec 2021. There was 1 interview round.
The question asks to find all the pairs present in an array of strings.
Iterate through the array and compare each element with all other elements to find pairs.
Store the pairs in a separate array or data structure.
Consider the order of elements in pairs, i.e., (A, B) is different from (B, A).
The number of steps required to reach the top of a staircase of length n can be calculated using dynamic programming.
Use dynamic programming to solve the problem
Create an array to store the number of steps required for each position
Initialize the first two positions with 1 and 2
Iterate through the remaining positions and calculate the number of steps based on the previous two positions
Return the number of steps require
Print the left view of a binary tree
Traverse the tree in pre-order traversal
Print the first node encountered at each level
Maintain a level variable to keep track of current level
Recursively traverse left subtree first
Print the leftmost node of each level using BFS.
Implement BFS algorithm to traverse the tree level by level.
Keep track of the leftmost node of each level.
Print the leftmost node of each level after traversal is complete.
Top trending discussions
I applied via Campus Placement and was interviewed before May 2021. There were 3 interview rounds.
Be the first to start the conversation if not first be in first 3 people.
Software Engineer
13
salaries
| ₹6 L/yr - ₹7.5 L/yr |
Software Developer
5
salaries
| ₹6 L/yr - ₹16.2 L/yr |
Software Engineer II
5
salaries
| ₹7 L/yr - ₹9.5 L/yr |
HR Manager
4
salaries
| ₹8.5 L/yr - ₹10.5 L/yr |
Graphic Designer
4
salaries
| ₹7.2 L/yr - ₹8.6 L/yr |
Qualtrics XM
Questionpro
SoGoSurvey
Udaan