You are viewing a single comment's thread. Return to all comments →
Your code did not pass this test case.
Input (stdin)
3 75 226 329 722 Your Output (stdout)
Right Answer! Expected Output
722 75 226 329 Compiler Message
Wrong Answer
Please assist me on this Weird error....
Node n = new Node(); n.data=x; n.next = head; return n;
This is my Code.......
Insert a node at the head of a linked list
You are viewing a single comment's thread. Return to all comments →
Your code did not pass this test case.
Input (stdin)
3 75 226 329 722 Your Output (stdout)
Right Answer! Expected Output
722 75 226 329 Compiler Message
Wrong Answer
Please assist me on this Weird error....
Node n = new Node(); n.data=x; n.next = head; return n;