<repo_name>hameditalha/LinkedListLab<file_sep>/README.md
# LinkedListLab
this is a manually implemented linked list that i implented as a assignment of my course 'data structures and algorithms' using intelliJ idea
<file_sep>/DriverClass.java
package LinkedListTesting;

import java.util.*;

public class DriverClass {

    public static void main(String[] args)
    {
        LinkedList list = new LinkedList();
        System.out.println(list.isEmpty());
        list.insertFirst(1);
        list.insertFirst(2);
        list.insertFirst(3);
        list.insertFirst(4);
        list.insertFirst(5);
        list.displayList();
        System.out.println(list.getFirst());
        list.deleteFirst();
        System.out.println(list.getFirst());
        System.out.println(list.findNode(3));
        System.out.println(list.deleteNode(2));
        list.displayList();
        System.out.println(list.isEmpty());
    }
}