Insert node in a doubly linked list in java
You are given a Doubly linked list and an integer K . Your task is to insert the integer K at the head of the given linked list. Input The first line contains an integer N and K.The next line contains N integers, the elements of the Doubly lin ...