new Node(key, data)
Constructs a Node to store data and next/prev nodes in Hash table.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
key |
Number
|
String
|
Key of the node. |
data |
Number
|
String
|
Data to be stored in hash table. |