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.
Insert a node at the head of a linked list
Insert a node at the head of a linked list
Sort by
recency
|
975 Discussions
|
Please Login in order to post a comment
The c# method has error here :: PrintSinglyLinkedList(llist->head, "\n", textWriter);
The -> operator is not allowed c# (pointer only for c/c++).
Use another compiler.
The C# doesn't compile. Seeing this error even without my code:
Solution.cs(32,25): warning CS8625: Cannot convert null literal to non-nullable reference type.
compile failure in C# code
Here is my c++ solution you watch vide explanation here : https://youtu.be/COnfpdhOlN8