fineanmol / Hacktoberfest2024

Make your first Pull Request on Hacktoberfest 2024. Don't forget to spread love and if you like give us a ⭐️
https://fineanmol.github.io/Hacktoberfest2024/
GNU General Public License v3.0
2.52k stars 7.99k forks source link

Linked list Data Structure #5967

Open Manish4Kumar opened 1 year ago

Manish4Kumar commented 1 year ago

A linked list is a linear data structure that includes a series of connected nodes. Here, each node stores the data and the address of the next node. For example, Linked List Implementations in C++ Examples // Linked list implementation in C++

include <bits/stdc++.h>

include

using namespace std;

// Creating a node class Node { public: int value; Node* next; };

int main() { Node head; Node one = NULL; Node two = NULL; Node three = NULL;

// allocate 3 nodes in the heap one = new Node(); two = new Node(); three = new Node();

// Assign value values one->value = 1; two->value = 2; three->value = 3;

// Connect nodes one->next = two; two->next = three; three->next = NULL;

// print the linked list value head = one; while (head != NULL) { cout << head->value; head = head->next; } }

Manish4Kumar commented 1 year ago

pls merge my pr

mukeshutmani commented 1 year ago

can i contribute here

snehalshah8429 commented 1 year ago

Pleasant Greetings is the issue still open? I'm willing to contribute on this issue.

mukeshutmani commented 1 year ago

yes

On Sun, Oct 8, 2023 at 8:13 PM snehalshah8429 @.***> wrote:

Pleasant Greetings is the issue still open? I'm willing to contribute on this issue.

— Reply to this email directly, view it on GitHub https://github.com/fineanmol/Hacktoberfest2023/issues/5967#issuecomment-1752051633, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2CXFBEP6FEEAZWV5C3KLFLX6K7LHAVCNFSM6AAAAAA5W6R772VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJSGA2TCNRTGM . You are receiving this because you commented.Message ID: @.***>

HarshitaShrivas66 commented 1 year ago

Hello, I would appreciate contributing to this repository by adding a code please assign this task to me.

mukeshutmani commented 1 year ago

okay you can contribute

shakti2002 commented 1 year ago

I want to work on this issue could you assign it to me

Kedarnath-Rothe commented 1 year ago

hey @fineanmol Please assign this issue to me