Skip to content

Comments

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

Open
swarnajha wants to merge 5 commits intoabxhr:mainfrom
swarnajha:main
Open

Create nth node from the end of the linked list#23
swarnajha wants to merge 5 commits intoabxhr:mainfrom
swarnajha:main

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 #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