Ayush7614 / Ayush7614/Daily-Coding-DS-ALGO-Practice

Remove Nth Node From End of List

Open
#963 2 comments 0 reactions 1 assignee Claimed by @ambivert-sam View on GitHub
LGMSOC21 🟨 Level2
Dominant language
C++
Stars
323
Forks
472
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
Want to add Remove Nth Node From End of List Python Data structures Folder

**Describe the solution you'd like**
Problem Statement :
Given the head of a linked list, remove the nth node from the end of the list and return its head.

![image](https://user-images.githubusercontent.com/74984661/122020037-0b405300-cde2-11eb-9b5f-1226f7c0aa19.png)

Example 1:
Input: head = [1,2,3,4,5], n = 2
Output: [1,2,3,5]

Example 2:

Input: head = [1], n = 1
Output: []
Example 3:

Input: head = [1,2], n = 1
Output: [1]

**Describe alternatives you've considered**
Leet Code question no. 19

**Additional context**
I would like to contribute and work on this issue as a participant of LGM SOC'21 will you please assign it to me

### Programming language

- [ ] C
- [ ] C++
- [ ] Java
- [x] Python

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.