Day 48
Day 48
Remove Nth Node From End of List
1 | class Solution { |
1 | func removeNthFromEnd(head *ListNode, n int) *ListNode { |
Intersection of Two Linked Lists
1 | public class Solution { |
1 | func getIntersectionNode(headA, headB *ListNode) *ListNode { |
Linked List Cycle II
1 | public class Solution { |
1 | func detectCycle(head *ListNode) *ListNode { |