It should coded with java.
//Doubly Linked List class
public class DLList {
private DNode head;
public DLList(){
head=null;
}
private DNode findeNode(int pos){
int cnt=1;
DNode walk=head;
while(walk!=null){
if(pos==cnt)
break;
walk=walk.getNext();
cnt++;
}
return walk;
}
public void deleteAt(int pos){
if(head==null)
return;
if(pos==1){
if(head.getNext()==null){ //if there is only one node
head=null;
}else{
head=head.getNext();
PayPal Gateway not configured
PayPal Gateway not configured