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 node class in Java

So I'm fairly new to Java and programming and I was wondering how to create a node class? So far …

java linked-list nodes
How to find nth element from the end of a singly linked list?

The following function is trying to find the nth to last element of a singly linked list. For example: If …

algorithm linked-list data-structures
How can I initialize a LinkedList with entries/values in it?

So I know how to have a linked list and use add method to input entries by entries. However, I …

java linked-list initialization
Where can I see the source code of the Sun JDK?

I want to have a look at how Java implements LinkedList. Where should I go to look at the source …

java linked-list
Merge Sort a Linked List

I was recently brushing up on some fundamentals and found merge sorting a linked list to be a pretty good …

algorithm sorting linked-list mergesort
Binary Trees vs. Linked Lists vs. Hash Tables

I'm building a symbol table for a project I'm working on. I was wondering what peoples opinions are on the …

algorithm hashtable linked-list binary-tree symbol-tables
Initialization discards qualifiers from pointer target type

I'm trying to print the list of a singly linked list that I referred to in link text. It works, …

c linked-list
invalid use of template name without an argument list

I am facing a problem with my linked list class, I have created the interface and implementation files of the …

c++ templates data-structures linked-list
Explain how finding cycle start node in cycle linked list work?

I understand that Tortoise and Hare's meeting concludes the existence of loop, but how does moving tortoise to beginning of …

algorithm linked-list cycle floyd-cycle-finding
How is Python's List Implemented?

Is it a linked list, an array? I searched around and only found people guessing. My C knowledge isn't good …

python arrays list linked-list python-internals