Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create nth node from the end of the linked list #23

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

swarnajha
Copy link

Added a file(nth node from the end in the linked list) in linked list folder.

Description

  • Added a file in linked list folder
  • the file content code segment for nth node from the end of the linkedlist

Added a file(nth node from the end in the linked list) in linked list folder.
Copy link
Owner

@abxhr abxhr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Fix the name of the file.
    eg: nth_node.cpp
  • Include the header files which are required only. (Don't import bits/stdc++.h)
  • Provide documentation for the same.
  • Add the file into the docs as mentioned in Hacktoberfest 2021! 🚀 #1

…e.cpp

I have added a program to create nth node from the end of the linked list .
I have added a program to create nth node from the end of the linked list
@swarnajha
Copy link
Author

Please @abxhr review the changes.

Comment on lines +1 to +3
using namespace std;
struct Node {
int data;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No header files are imported in this file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants