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
|
810 Discussions
|
Please Login in order to post a comment
The C# generated template is broken
Easiest Solution
public static SinglyLinkedListNode deleteNode(SinglyLinkedListNode head, int index) { SinglyLinkedListNode temp = head;
Here is my c++ solution, you can have the video explanation here : https://youtu.be/EjWw69vLVYo
c++ soln
SinglyLinkedListNode* deleteNode(SinglyLinkedListNode* llist, int position) { SinglyLinkedListNode* temp=llist;
}
I had this thing generate invalid starter C# code.
Who works like this without a debugger?