8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9e6e14 commit bde2372Copy full SHA for bde2372
src/main/java/com/fishercoder/solutions/_19.java
@@ -3,17 +3,6 @@
3
import com.fishercoder.common.classes.ListNode;
4
import com.fishercoder.common.utils.CommonUtils;
5
6
-/**19. Remove Nth Node From End of List
7
- *
8
- * Given a linked list, remove the nth node from the end of list and return its head.
9
- * For example, Given linked list: 1->2->3->4->5, and n = 2.
10
- * After removing the second node from the end, the linked list becomes 1->2->3->5.
11
-
12
-Note:
13
-Given n will always be valid.
14
-Try to do this in one pass.
15
- */
16
17
public class _19 {
18
19
public static class Solution1 {
0 commit comments