# 19. Remove Nth Node From End of List
## Tóm tắt đề bài
- Cho 1 linked list, xóa node thứ **n** tính từ cuối linked list đó.
### Giới hạn
- The number of nodes in the list is sz.
- 1 <= sz <= 30
- 0 <= Node.val <= 100
- 1 <= n <= sz
## Lời giải
- Gọi số node trong linked list là `numNode`, node thứ **n** tính từ cuối linked list chính là node thứ **numNode - n** tính từ đầu linked list.
### Độ phức tạp thuật toán
Thời gian: $O(N)$
Bộ nhớ: $O(1)$
### Code tham khảo
https://leetcode.com/problems/remove-nth-node-from-end-of-list/submissions/1192653669/?envType=daily-question&envId=2024-03-03