My Project
|
Singly Linked List Node class. Available member functions include default constructor and initialising constructor. More...
#include <DSA.h>
Public Member Functions | |
SinglyLinkedListNode () | |
Construct a new Singly Linked List Node object. | |
SinglyLinkedListNode (ll val) | |
Construct a new Singly Linked List Node object. More... | |
Public Attributes | |
ll | data |
data stored in the node | |
SinglyLinkedListNode * | next |
pointer to the next node | |
Singly Linked List Node class. Available member functions include default constructor and initialising constructor.
SinglyLinkedListNode::SinglyLinkedListNode | ( | ll | val | ) |
Construct a new Singly Linked List Node object.
[in] | val | input value for the node |