You are viewing a single comment's thread. Return to all comments →
He uses markdown. Just surround your code with three back-ticks. `
Like this:
3 back-ticks here V
Node RemoveDuplicates(Node head) { if(head==null || head.next==null) return head; Node root = head; while(head.next!=null){ if(head.data!=head.next.data){ head = head.next; }else{ head.next = head.next.next; } } return root; }
Another 3 back-ticks here^
Seems like cookies are disabled on this browser, please enable them to open this website
Delete duplicate-value nodes from a sorted linked list
You are viewing a single comment's thread. Return to all comments →
He uses markdown. Just surround your code with three back-ticks. `
Like this:
3 back-ticks here V
Another 3 back-ticks here^