-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Circular Linked List Data Structure #476
base: master
Are you sure you want to change the base?
Conversation
…related to stacks
… BalancedParenthesesChecker.cs, NextGreaterElement.cs and ReverseStack.cs
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #476 +/- ##
==========================================
+ Coverage 95.00% 95.07% +0.06%
==========================================
Files 246 248 +2
Lines 10367 10452 +85
Branches 1478 1490 +12
==========================================
+ Hits 9849 9937 +88
+ Misses 398 395 -3
Partials 120 120 ☔ View full report in Codecov by Sentry. |
DataStructures/LinkedList/CircularLinkedList/CircularLinkedList.cs
Outdated
Show resolved
Hide resolved
/// <summary> | ||
/// Displays the contents of the Circular Linked List. | ||
/// </summary> | ||
public void Display() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove display method and display-related logic from tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@siriak Can you please review |
Circular Linked List
A Circular Linked List Data Structure is a variation of the linked list where the last node points back to the first node, forming a circular structure. In this implementation, I've created a circular linked list where each node contains data and a reference to the next node.
Here's a summary of key operations and their time complexities in this implementation:
Where It Can Be Used:
CheckList