class Del{ Node first,last,t; static class Node{ int data; Node next; Node(int d){ this.data = d; this.next = null; } } void create(int a[], int n){ first = new Node(a[0]); last =first; for(int i=1; i Length(n)){ return; } if(index==0){ if(first==null){ return; } else{ first = first.next; } } else{ for(int i=0;i