Filter interviews by
I applied via campus placement at SRM Institute of Science & Technology, Chennai and was interviewed in Jul 2022. There were 2 interview rounds.
Reverse a linked list
Iteratively swap the next and previous pointers of each node
Use three pointers to keep track of the current, previous, and next nodes
Update the head pointer to the last node after reversing
Find the second largest element in an array
Sort the array in descending order
Return the element at index 1
Top trending discussions
Software Engineer
106
salaries
| ₹7.3 L/yr - ₹21 L/yr |
Senior Software Engineer
101
salaries
| ₹11.4 L/yr - ₹34.3 L/yr |
Software Developer
43
salaries
| ₹7.5 L/yr - ₹17 L/yr |
Sdet
19
salaries
| ₹7 L/yr - ₹11.5 L/yr |
Lead Software Engineer
19
salaries
| ₹21.1 L/yr - ₹42.3 L/yr |
TCS
Infosys
Wipro
HCLTech