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
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 ...
NCR Corporation interview questions for designations
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 in Dec 2021. There were 3 interview rounds.
Core java, MQ, Sql
I applied via LinkedIn and was interviewed in Jul 2022. There was 1 interview round.
Remove duplicate objects from an array of multiple objects.
Create a new array to store unique objects
Loop through the original array and check if the object already exists in the new array
If not, add it to the new array
Return the new array
Maintain state by using a global variable or a state management system.
Use a global variable to store the state and access it whenever needed.
Use a state management system like Redux or MobX to manage the state.
Avoid using local variables or closures to store state as they will be lost when the code is repeated.
Consider using object-oriented programming principles to encapsulate state within objects.
Use functional prog...
posted on 5 Feb 2021
based on 7 interviews
2 Interview rounds
based on 27 reviews
Rating in categories
Software Engineer
380
salaries
| ₹6.5 L/yr - ₹20 L/yr |
Senior Software Engineer
276
salaries
| ₹9.5 L/yr - ₹33 L/yr |
Software Engineer III
183
salaries
| ₹13 L/yr - ₹34.9 L/yr |
Software Engineer2
182
salaries
| ₹7 L/yr - ₹21 L/yr |
Software Developer
159
salaries
| ₹6 L/yr - ₹19 L/yr |
DXC Technology
Sutherland Global Services
Optum Global Solutions
FIS