Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anupam-kumar-krishnan/Competitive_Programming
/ Node
Class
Node
All Data Structures/Singly_LL/main.cpp:5–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
using namespace std;
4
5
class Node {
6
public:
7
Node *next = NULL;
8
int value;
9
Node(int val) {
10
value = val;
11
}
12
};
13
14
class SLL {
15
private:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected