Created
February 8, 2021 06:17
-
-
Save kshitijvarshne1/dfe73a9fb80c7bf96655e0cf3b6ec850 to your computer and use it in GitHub Desktop.
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
/* Created by IntelliJ IDEA. | |
* Author: Kshitij Varshney (kshitijvarshne1) | |
* Date: 08-Feb-21 | |
* Time: 11:00 AM | |
* File: Execution.java | |
*/ | |
package feb08_21_NK.LinkedList; | |
public class Execution { | |
public static void main(String[] args) { | |
SinglyLinkedList list = new SinglyLinkedList(); | |
for (int i = 0; i < 5; i++) { | |
list.insertAtBegin(new Node(i)); | |
} | |
list.printSinglyLinkedList(); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment