answersLogoWhite

0


Best Answer

linear

circular

double linked linear

double linked circular

Knowing the names does not help much when your teacher will require you to actually know what the names mean. Start reading. Programming requires lots of reading.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

A linked list is a set of elements, usually structures, where each element contains a pointer or index to the "next" element, along with the data represented by the element.

Often, the elements are allocated from the heap. Sometimes, a fixed number of elements is contained in an array. In the first case, pointers are used. In the second case, indices are used.

Types of linked lists are ... In an array implementation, read pointer as index.

  • Singly linked - there is a head pointer, and one next pointer per element. The last element's pointer is null. This type of list can be traversed in only one direction.
  • Doubly linked - there is a head pointer, and each element contains two pointers, one to the previous element and one to the next element. This type of list can be traversed in two directions, making insertion and deletion a bit easier, at the cost of extra memory.
  • Circularly linked - the same as Singly or Doubly linked, except that the last element's pointer points back to the first element's pointer. These types of lists are often used as queues.
This answer is:
User Avatar

User Avatar

Wiki User

14y ago

4 types of linked lists are----

i> singly linear

ii> doubly linear

iii> multiply-linked lists

iv> singly circular

In singly linear linked list every node is divided into two fields---- data field and pointer field. Pointer field of each node contains only one pointer which points to the data field of the next node. Start pointer points to the first node and the pointer of the last node points to null. We can traverse in only one direction through it.

In doubly linear linked list every node is divided into three fields---- one data field and two pointer fields. One pointer points to the data field of its next node and another to its previous node. Start pointer points to the first node and the pointer of the last node points to null. We can traverse in both direction through it.

In multiply-linked list a single pointer field of a node can contain multiple pointers.Each field being used to connect the same set of data but in different order(by name or by date or by department).

In singly circular linked list every node is divided into two fields---- data field and pointer field. Pointer field of each node contains only one pointer which points to the data field of the next node. Start pointer points to the first node but unlike the singly linear linked list the pointer of the last node points to the first node. We can traverse in only one direction through it in circular way. Means we can go through the list in one direction and can get back to the first node in a circular way.

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

Singly Linked List

Doubly Linked List

Circular List

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the basic types of link list in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What does the verify keyword do in Java?

"verify" is not a Java keyword. I believe the link, in related links, has the complete list of Java keywords.


What are all the objects oriented programmes?

For a fairly exhaustive list, see the related link to this question. Popular languages are C++, Java, Objective-C, Visual Basic, and Ruby.


List some programing languages?

* Java * C, C++ * Basic * COBOL * Fortran * Pascal * .Net * Visual Basic * etc...


What is data in link list?

Data in the link list could be anything, it could be user defined data types or standard data types. Like link list of a text file data could be list of strings.


What are operators in the Java programming language?

Take a look at the 1st link below from Sun Microsystems (creator of Java), it will list most of the Java operators with an explanation. The 2nd link provides a more in-depth description of each type of operator.


Can i get a java code to insert an integer number at the last position in a link list?

list.addLast(5)


How many packages in java and show the list?

There are almost 200 packages in the standard J2SE distribution. Please see the related link below detailing the Java API (for Java 7) for a full listing.


List four JDBC drivers?

JDBC ODBC BridgeNative API Partly Java DriverNet Protocol full Java driverare some types of jdbc drivers


Which programming languages do what?

HTML creates webpages, C++ and Java can make programs like games. Those are just the basic ones. You can see a list of them at: http://www.ukessays.com/essays/computer-science/programming-languages-and-their-types-and-uses.php


Program for length of list in java?

Java's List interface defines the size() method, which can be used to retrieve the length of a list.


List out the version of java?

Running "java -version" will display the current version of Java.


Name the types of illegal drug in America?

The list is too numerous to list here. Click the link.