Filter interviews by
Loop in a linked list refers to a situation where a node in the list points to a previous node, creating a cycle.
Check for a loop using Floyd's cycle detection algorithm
Use two pointers, one moving at twice the speed of the other
If the two pointers meet at some point, there is a loop
To delete a node in a linked list with a given pointer, update the node's value and next pointer to the next node's value and next pointer.
Set the value of the node to the value of the next node
Set the next pointer of the node to the next node's next pointer
Reverse a linked list by changing the pointers direction
Iterate through the linked list and change the direction of pointers
Use three pointers - prev, current, next to reverse the list
Update the head of the linked list to the last node after reversing
Print the Fibonacci series
Use a loop to generate Fibonacci numbers
Start with 0 and 1, then add the previous two numbers to get the next number
Repeat this process until reaching the desired length of the series
Implement a function to reverse a string in Go lang
Create a function that takes a string as input
Convert the string into a slice of bytes for easier manipulation
Use a loop to iterate through the slice and reverse the order of characters
Convert the reversed slice back into a string and return it
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have constructors, fields, and methods, while interface can only have constants and method signatures.
A class can extend only one abstract class, but can implement multiple interfaces.
Abstract classes are used to define a common behavior for subclasses, while interfaces are used to defi...
Loop in a linked list refers to a situation where a node in the list points to a previous node, creating a cycle.
Check for a loop using Floyd's cycle detection algorithm
Use two pointers, one moving at twice the speed of the other
If the two pointers meet at some point, there is a loop
To delete a node in a linked list with a given pointer, update the node's value and next pointer to the next node's value and next pointer.
Set the value of the node to the value of the next node
Set the next pointer of the node to the next node's next pointer
Implement a function to reverse a string in Go lang
Create a function that takes a string as input
Convert the string into a slice of bytes for easier manipulation
Use a loop to iterate through the slice and reverse the order of characters
Convert the reversed slice back into a string and return it
I appeared for an interview in May 2024.
I applied via Naukri.com and was interviewed before May 2023. There were 2 interview rounds.
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have constructors, fields, and methods, while interface can only have constants and method signatures.
A class can extend only one abstract class, but can implement multiple interfaces.
Abstract classes are used to define a common behavior for subclasses, while interfaces are used to define a ...
I applied via LinkedIn and was interviewed before Oct 2023. There were 2 interview rounds.
Coding test on hackerearth. two questions were asked
Reverse a linked list by changing the pointers direction
Iterate through the linked list and change the direction of pointers
Use three pointers - prev, current, next to reverse the list
Update the head of the linked list to the last node after reversing
Print the Fibonacci series
Use a loop to generate Fibonacci numbers
Start with 0 and 1, then add the previous two numbers to get the next number
Repeat this process until reaching the desired length of the series
Top trending discussions
I applied via Naukri.com and was interviewed before Oct 2022. There were 3 interview rounds.
posted on 28 Apr 2024
posted on 7 May 2022
I applied via Campus Placement and was interviewed before May 2021. There were 2 interview rounds.
Basic aptitude knowledge
Strong in java
I applied via Naukri.com and was interviewed before Sep 2019. There were 6 interview rounds.
based on 7 interview experiences
Difficulty level
Duration
based on 27 reviews
Rating in categories
Software Engineer
394
salaries
| ₹6.5 L/yr - ₹22.5 L/yr |
Senior Software Engineer
280
salaries
| ₹9.5 L/yr - ₹36 L/yr |
Software Engineer2
193
salaries
| ₹9.8 L/yr - ₹21.3 L/yr |
Software Engineer III
185
salaries
| ₹13 L/yr - ₹35 L/yr |
Software Engineer II
153
salaries
| ₹9.2 L/yr - ₹23 L/yr |
DXC Technology
Sutherland Global Services
Optum Global Solutions
Virtusa Consulting Services