Skip to content

Commit 46160fe

Browse files
authored
Update linkedLists.h
1 parent 238a2c6 commit 46160fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

linkedLists.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// The node struct was inspired by the post at geeksforgeeks.org/linked-list-set-1-introduction
2+
13
#include <iostream>
24
#include <cstring>
35
#include <stdlib.h>
@@ -7,6 +9,7 @@ using namespace std;
79
class List
810
{
911
private:
12+
// This struct bit was inspired by the post at geeksforgeeks.org/linked-list-set-1-introduction
1013
typedef struct Node
1114
{
1215
int data;

0 commit comments

Comments
 (0)