We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Delete a Node
Delete a Node
Sort by
recency
|
827 Discussions
|
Please Login in order to post a comment
Here is my c++ solution, you can have the video explanation here : https://youtu.be/EjWw69vLVYo
Why it's not working in C#.? Is there any way to resolve in C#??
JAVA Solution public static SinglyLinkedListNode deleteNode(SinglyLinkedListNode llist, int position) { // Write your code here
Jeeze, second non-working template for C#.
To make it work:
Remove 'class Result' but keep its guts so that its guts are part of Solution class. Make
deleteNode
non-public (i.e. removepublic
keyword)