Top "Linked-list" questions

A linked list is a data structure where the list elements are not necessarily stored sequentially but rather each element contains a reference to the next (and optionally the previous) element in the list.

Creating a LinkedList class from scratch

We were given an assignment to create a LinkedList from scratch, and there are absolutely no readings given to guide …

java data-structures linked-list append
How could i create a list in c++?

How can I create a list in C++? I need it to create a linked list. How would I go …

c++ list stl linked-list
Java how to sort a Linked List?

I am needing to sort a linked list alphabetically. I have a Linked List full of passengers names and need …

java linked-list
JTable - Selected Row click event

I have a Jtable that is populated with a linkedlist through an AbstractTableModel. What I want to do is when …

java swing linked-list jtable jtextfield
java - iterating a linked list

if I use a for-each loop on a linked list in java, is it guaranteed that I will iterate on …

java linked-list
What is a practical, real world example of the Linked List?

I understand the definition of a Linked List, but how can it be represented and related to a common concept …

collections linked-list car-analogy
C: How to free nodes in the linked list?

How will I free the nodes allocated in another function? struct node { int data; struct node* next; }; struct node* buildList() { …

c linked-list heap-memory
When to use HashMap over LinkedList or ArrayList and vice-versa

What is the reason why we cannot always use a HashMap, even though it is much more efficient than ArrayList …

java arrays arraylist linked-list hashmap
How to work with string fields in a C struct?

I'm having trouble making a database based on a singly-linked list in C, not because of the linked list concept …

c string linked-list structure