Leetcode Problem : https://leetcode.com/problems/remove-nth-node-from-end-of-list/
My solution : https://ide.codingblocks.com/s/321762
Why I am getting wrong answer while submitting on leetcode ?
Leetcode Problem : https://leetcode.com/problems/remove-nth-node-from-end-of-list/
My solution : https://ide.codingblocks.com/s/321762
Why I am getting wrong answer while submitting on leetcode ?
you need to add an condition that if fast == NULL return head->next;