Filter interviews by
A Linkedlist is not inherently a palindrome, but it can be checked for palindrome by comparing the elements from both ends.
To check if a Linkedlist is a palindrome, we can reverse the second half of the list and compare it with the first half.
Alternatively, we can use a stack to store the first half of the list and then compare it with the second half while popping elements from the stack.
For example, if the Linkedlist
Top trending discussions
based on 1 interview
Interview experience
Software Engineer
213
salaries
| ₹16.1 L/yr - ₹60 L/yr |
Software Developer
27
salaries
| ₹14.9 L/yr - ₹45 L/yr |
Softwaretest Engineer
26
salaries
| ₹11.4 L/yr - ₹43.4 L/yr |
Technical Solutions Engineer
13
salaries
| ₹8 L/yr - ₹22 L/yr |
Senior Software Engineer
12
salaries
| ₹15.5 L/yr - ₹56.6 L/yr |
Cisco
Juniper Networks
Hewlett Packard Enterprise
Extreme Networks