CARVIEW |
Select Language
HTTP/2 200
date: Sat, 26 Jul 2025 22:55:59 GMT
content-type: text/html; charset=utf-8
cf-ray: 96577cda4adac1c7-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=6784719f-6bcc-4c6b-b39f-2026dcd7020f; expires=Sun, 26 Jul 2026 22:55:59 GMT; domain=.stackexchange.com; path=/; secure; httponly
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-clacks-overhead: GNU Terry Pratchett
x-frame-options: SAMEORIGIN
x-request-guid: 2dcc8080-851d-40d4-bb6a-4b0d9b31d1b6
x-worker-origin-response-time: 607000000
x-dns-prefetch-control: off
set-cookie: prov=6784719f-6bcc-4c6b-b39f-2026dcd7020f; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=atvJZWURJ.l.N4UxtcWdjHrks8Wk.dyaVGNm66MV0Kc-1753570559-1.0.1.1-FkXlgSjMKRy444kK5plhGPbuWRqpEMGX0OekI9L2QaZSVwzGSg.n78r_w30gQRkcHa378wUK4.UkqQYBKkrXpnWdfPLBtwncVryPy_Q3NpU; path=/; expires=Sat, 26-Jul-25 23:25:59 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=RNgPaDNq9vyNlOhSBx5e_DVJycZsWUeRi9kbmtUgB6U-1753570559705-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest 'linked-list' Questions - Code Review Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsQuestions tagged [linked-list]
A linked list is a data structure in which the elements contain references to the next (and optionally the previous) element.
1,072 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
7
views
IndexedLinkedList.java - A fast list data structure for large data, Take IV/V (inner classes)
Intro
This post is the continuation of IndexedLinkedList.java - A fast list data structure for large data, Take III/V (private API).
Code
...
0
votes
0
answers
8
views
IndexedLinkedList.java - A fast list data structure for large data, Take III/V (private API)
Intro
This post is the continuation of IndexedLinkedList.java - A fast list data structure for large data, Take II/V (package private API). It presents the private methods only.
Code
...
0
votes
0
answers
11
views
IndexedLinkedList.java - A fast list data structure for large data, Take II/V (package private API)
Intro
This post is the continuation of the IndexedLinkedList series. It presents the package private API:
Code
...
1
vote
1
answer
49
views
IndexedLinkedList.java - A fast list data structure for large data, Take I/V (public API)
Intro
I have this Java implementation of a list data structure that outperforms on a benchmark even the Apache Commons Collection4 TreeList by a factor of 8.
This ...
7
votes
7
answers
2k
views
LinkedList data structure in C
Is my logic good? Are variable names fitting? Are there any memory leaks? Am I doing anything dangerous (this is C after all)?
Please feel free to criticize the code. I want to know if I'm writing C ...
9
votes
4
answers
1k
views
C++20 Singly Linked List with Iterator
Below is the code I wrote to implement a singly linked list. To keep things simple, I omitted things like copy constructor. Aside from general feedback, here are some specifics I would like addressed:
...
4
votes
3
answers
1k
views
Java class subset of C++ std::list with efficient std::list::sort()
Issues with generics < E > and < E extends Comparable > in code below. What changes are needed in the code below to prevent DLList.push_front() and DLList.push_back() from accepting ...
4
votes
2
answers
162
views
Basic Linked List Implementation in JavaScript
Clarification of Intent
Recursion here is used on purpose for practice - note that iteration is preferred in this case (I'll be more clear about where my intentions are!)
Factory function was also ...
3
votes
1
answer
79
views
Simple Stack and Deque implementation (v2)
My previous post: Simple Stack and Deque implementation
I have implemented 2 classes for my project similar to stack and deque. This is my second attempt to get advice and evaluation of my code. Maybe ...
1
vote
1
answer
121
views
Simple Stack and Deque implementation
I implemented a single-linked and double-linked lists (like stack and deque). I would like to receive your feedback on improving the code or maybe some comments. I'm learning C++ for the third month. ...
4
votes
3
answers
690
views
Error handling for singly linked list in C
I have seen many list implementations in C in this site; I know its been asked many times. I need some advice regarding:
Quality of my code, especially my list library.
How to handle errors in main (...
9
votes
2
answers
1k
views
C# Linked List implementation
I am trying to learn C# and created this project to improve. I will be using C# professionally so a harsh critique is welcome.
...
2
votes
1
answer
66
views
Advent of Code 2022 Day 13 Solution in C: Sorting and parsing nested list
Link to Original Problem: Advent of Code 2022 Day 13
Question Summary:
The task involves sorting and parsing nested lists, with two parts:
Determine pairs in the correct order and calculate the sum ...
3
votes
4
answers
725
views
Adding Node to Linked List
I've been programming for 3 months now, and I've just come across Linked List, and I'm not gonna lie, I've been struggling a little. I wrote this code to practice on Linked Lists. The purpose is to ...
5
votes
2
answers
398
views
Count the frequencies of each word in a file
I have tried to implement a code that does the following:
store words in an array (unordered)
use function order_array() to place repetitions for the same word ...
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related Tags
c++ × 326
c × 260
java × 257
beginner × 114
algorithm × 91
python × 84
c++11 × 64
stack × 61
pointers × 55
c# × 54
performance × 52
interview-questions × 44
memory-management × 42
object-oriented × 36
queue × 33
javascript × 31
python-3.x × 31
circular-list × 30
hash-map × 25
iterator × 25
mergesort × 25
unit-testing × 25
generics × 20
more related tags
Hot Network Questions
- Why does Gaza Humanitarian Foundation (GHF) not distribute more food in Gaza?
- spots / stains on tubeless tire
- Class for validating code in different Conda environments with PyTorch
- How to extend an MDF shelf?
- About Harp Pedaling for a Pentatonic Glissando
- With the view in Paul Bernays's Axiomatic Set Theory (1958),How can I understand the situation which Halmos mentioned?
- Is this a violation of open source?
- How much of a really big a spaceship could a nuke take out?
- Civilian airplanes with inside fuselage jet engines
- Will a reinforced 1" concrete slab be durable?
- How to put commutative symbol in a commutative diagram?
- What is the weight of holy water?
- What part of speech is "the way?"
- Existence of Jordan curves between a compact and an open set
- About security concerns using in find -exec vs interactively performing the same task
- Most practical way to determine concentration of reducing sugar in frozen French fries?
- What is the meaning of 'Tel.......,qui......'
- Story that taught cryptography in the form of a manga
- Where should a drain saddle for an RO system be installed?
- “Unclear step in a math book for entertainment”
- In Jurassic Park, is the lysine dependency intentionally fake (in-universe)?
- Do TeX engines support Shavian OpenType fonts?
- Are you required to protect trade secrets revealed to you even if you didn't sign an NDA?
- When did the OEIS get even better?