i
TO THE NEW
Filter interviews by
I applied via LinkedIn and was interviewed in Aug 2022. There were 4 interview rounds.
Basic aptitude ,logical and cs fundamental questions.
Bubble sort algorithm sorts an array by repeatedly swapping adjacent elements if they are in wrong order.
Compare adjacent elements and swap them if they are in wrong order
Repeat this process until the array is sorted
Time complexity is O(n^2)
Space complexity is O(1)
Example: ['apple', 'banana', 'orange', 'grape'] -> ['apple', 'banana', 'grape', 'orange']
Check for balanced parenthesis in a string.
Use a stack to keep track of opening parenthesis
If a closing parenthesis is encountered, pop from stack and check if it matches
If stack is empty at the end, the string has balanced parenthesis
Top trending discussions
Senior Software Engineer
590
salaries
| ₹9 L/yr - ₹27.5 L/yr |
Software Engineer
558
salaries
| ₹4 L/yr - ₹13.9 L/yr |
Associate Technical Leader
232
salaries
| ₹12.8 L/yr - ₹35.4 L/yr |
Senior Quality Engineer
164
salaries
| ₹7 L/yr - ₹22.5 L/yr |
Devops Engineer
154
salaries
| ₹4.5 L/yr - ₹14.5 L/yr |
TCS
Infosys
Wipro
HCLTech