ArrayList: Array List is an implemented class of List interface which is present in package java.util. Array List is created on the basis of the… Read More
Tag Archives: Linked Lists
I recently applied to Cisco Internship for the role: Software Engineer – Network/Embedded/Application Development. It consisted of the following rounds: Round 1 (Online Assessment): This… Read More
What is a Linked List? A Linked List is a linear data structure which looks like a chain of nodes, where each node is a… Read More
Jagannath Temple is famously known as Jagannath Puri or Simply Puri. This temple is in Orissa situated on the seashore of the Bay of Bengal.… Read More
Given a singly linked list and an integer K, the task is to rotate the linked list clockwise to the right by K places.Examples: Input:… Read More
Given a singly linked list and an integer K, the task is to rotate the linked list clockwise to the right by K places.Examples: Input:… Read More
Given a singly linked list and an integer K, the task is to rotate the linked list clockwise to the right by K places.Examples: Input:… Read More
Given a singly linked list and an integer K, the task is to rotate the linked list clockwise to the right by K places.Examples: Input:… Read More
Given a singly linked list, rearrange the list so that even and odd nodes are alternate in the list.There are two possible forms of this… Read More
Given a singly linked list, rearrange the list so that even and odd nodes are alternate in the list.There are two possible forms of this… Read More
Given a singly linked list, rearrange the list so that even and odd nodes are alternate in the list.There are two possible forms of this… Read More
Given a singly linked list, rearrange the list so that even and odd nodes are alternate in the list.There are two possible forms of this… Read More
Given a linked list, write a function to reverse every k nodes (where k is an input to the function). Examples: Input: 1->2->3->4->5->6->7->8->NULL and k =… Read More
Given a linked list, write a function to reverse every k nodes (where k is an input to the function). Examples: Input: 1->2->3->4->5->6->7->8->NULL and k =… Read More
Given a linked list, write a function to reverse every k nodes (where k is an input to the function). Examples: Input: 1->2->3->4->5->6->7->8->NULL and k =… Read More