StackOverflow Questions for Tag: singly-linked-list

notsoanonperson
notsoanonperson

Reputation: 25

Shuffle merging two linked lists with the same number of nodes

Score: 1

Views: 34

Answers: 1

Read More
Poindexter
Poindexter

Reputation: 55

Is there a general set of instructions to swap adjacent and non-adjacent records in a singly-linked list?

Score: 1

Views: 69

Answers: 1

Read More
Pedddrym
Pedddrym

Reputation: 11

I'm having a problem with insertion in a singly Linked List on python

Score: 0

Views: 53

Answers: 1

Read More
CoolMcDougal
CoolMcDougal

Reputation: 19

How can I insert a node in a singly linked list using recursion given: 1. a pointer to the head node 2. the index to insert the new node

Score: 1

Views: 5872

Answers: 5

Read More
Taelung
Taelung

Reputation: 1

linked list, swap nodes

Score: 0

Views: 85

Answers: 2

Read More
Vivyen
Vivyen

Reputation: 85

Which of these implementations is canonical: storing the head and size variables, or storing the head, tail, and size?

Score: -2

Views: 40

Answers: 2

Read More
CN.hitori
CN.hitori

Reputation: 148

Is using free(p->next) acceptable in C?

Score: -1

Views: 257

Answers: 2

Read More
Muhmmad Abrar
Muhmmad Abrar

Reputation: 1

How to use Bubble sort in linked list without swapping the nodes?

Score: 0

Views: 67

Answers: 0

Read More
juh
juh

Reputation: 111

Deleting node from singly-linked list and closing the gap in one go

Score: 1

Views: 231

Answers: 1

Read More
Amit Kumar
Amit Kumar

Reputation: 13

Merge sort for Linked List

Score: -7

Views: 174

Answers: 1

Read More
MZGhibli
MZGhibli

Reputation: 11

How to get rows of a csv file into a linkedlist iteratively?

Score: 1

Views: 106

Answers: 2

Read More
AbdelrahmanMurad
AbdelrahmanMurad

Reputation: 13

I don't understand how this function works, which is reverse() function in implementation of a linked list

Score: 1

Views: 105

Answers: 2

Read More
fBpv
fBpv

Reputation: 3

Shift method in a singly linked list

Score: 0

Views: 58

Answers: 2

Read More
Milad Khazani
Milad Khazani

Reputation: 21

Mergesort for singly-linked lists gives correct results but leaks memory

Score: 1

Views: 127

Answers: 1

Read More
Huy Trần Ngọc
Huy Trần Ngọc

Reputation: 1

Segmentation fault in my code SLL Natural Merge Sort in C++

Score: -1

Views: 95

Answers: 1

Read More
BMAGS
BMAGS

Reputation: 29

Why does this Linked List C function not work properly if previousNode->next is not set to NULL?

Score: 2

Views: 71

Answers: 3

Read More
Prakritish Ghosh
Prakritish Ghosh

Reputation: 9

Reversing a linked list-Find error in existing logic

Score: -1

Views: 53

Answers: 1

Read More
Connor Abla
Connor Abla

Reputation: 33

STL List Insert asks for 3 arguments

Score: 0

Views: 1494

Answers: 2

Read More
Tenacity
Tenacity

Reputation: 9

Singly linked list returning an error even though I have already checked it

Score: -1

Views: 96

Answers: 1

Read More
learn123456
learn123456

Reputation: 337

Need an explanation to a Recursive reversed singly linked list code in javascript

Score: -1

Views: 214

Answers: 2

Read More
PreviousPage 2Next