Created
May 2, 2020 13:12
-
-
Save Mahdhir/f62e08dd9390b8fe743c18b4bb0cd299 to your computer and use it in GitHub Desktop.
A Node class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Node{ | |
int key; | |
Node next; | |
public Node(int data){ | |
key = data; | |
next = null; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment