Java Discover

Java Discover is a Java technical blog mainly created for sharing our thoughts and programming question to the world of Java Programmers..

Showing posts with label Linked List. Show all posts
Showing posts with label Linked List. Show all posts

How to print singly linked list in reverse order

›
If we talk about Singly Linked List then it will be a 1 way traversal from head node to tail node. But if we need to print the linked list ...

How to delete a Node from Linked List in java

›
In our earlier tutorials we have seen lot of Linked List related questions and programs. On similar stage another question is how to delete...

How to detect loop in a linked list or not

›
We have seen lot of posts related to LinkedList like, How to create Linked List Finding N'th node from the end of a Linked List Fin...

How to create simple and easy singly LinkedList in Java

›
Lets see simple Java code to create custom singly LinkedList and maintaining the same order. Also lets traverse the LinkedList and make sur...

N'th node from the end of a Linked List

›
Need to find the N'th node from the end of Singly Linked List. Since its singly linked we can't traverse bidirectional and importan...

Find the middle node of a given linked list

›
Given a singly linked list, find the middle NODE of the linked list. For example, if given linked list is 1->2->3->4->5 then o...

Merge 2 Sorted Linked Lists

›
Function that takes two lists, each of which is sorted in increasing order, and merges the two together into one list which is in increasi...
›
Home
View web version
Powered by Blogger.