Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
❔ Removing dupes in a linked list - C#
C
C#
•
3y ago
•
270 replies
Mayonaize
❔ Removing dupes in a linked list
I need to make a function that gets a linked list
, and returns that linked list with all sequences of 3 or more consecutive equal numbers be removed
for example
: 1
,3
,3
,3
,4
,5
,5
,6
,9
,9
,9
,9
becomes
1
,4
,5
,5
,6
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Next page
Similar Threads
linked list
C
C# / help
2y ago
❔ Reverse Linked List
C
C# / help
3y ago
How to sort a linked list
C
C# / help
3y ago