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
Mine sweeper logic for a box click
To delete an element from a linked list, update the pointers of the previous node to skip the node to be deleted.
Traverse the linked list to find the node to be deleted
Update the 'next' pointer of the previous node to skip the node to be deleted
Free the memory allocated to the node to be deleted
I expect a competitive salary that reflects my skills, experience, and the industry standards for a Senior Software Engineer.
Research industry standards: For example, Glassdoor or Payscale can provide insights into average salaries for similar roles.
Consider my experience: With over 5 years in software development and expertise in multiple programming languages, I bring significant value.
Location matters: Salaries can ...
I applied via LinkedIn and was interviewed in Jul 2020. There was 1 interview round.
based on 7 interview experiences
Difficulty level
Duration
based on 27 reviews
Rating in categories
Software Engineer
393
salaries
| ₹9.6 L/yr - ₹17.5 L/yr |
Senior Software Engineer
283
salaries
| ₹14.6 L/yr - ₹30 L/yr |
Software Engineer2
196
salaries
| ₹13 L/yr - ₹21.3 L/yr |
Software Engineer III
186
salaries
| ₹21.5 L/yr - ₹35 L/yr |
Software Engineer II
156
salaries
| ₹14.1 L/yr - ₹23 L/yr |
DXC Technology
Sutherland Global Services
Optum Global Solutions
Virtusa Consulting Services