-
-
Notifications
You must be signed in to change notification settings - Fork 342
feat: add comprehensive linked list data structures #257
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
feat: add comprehensive linked list data structures #257
Conversation
- Implement singly linked list with insert, delete, search operations - Add doubly linked list with bidirectional traversal and position access - Create circular linked list with Josephus problem solver - Include cycle detection, list reversal, and merge operations - Add comprehensive documentation and educational examples - Update DIRECTORY.md with linked list algorithms section
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.
Pull Request Overview
This PR adds comprehensive linked list data structure implementations to TheAlgorithms/R repository, including singly, doubly, and circular linked lists with educational examples and practical applications.
- Implements three core linked list variants with full CRUD operations and advanced algorithms
- Adds educational documentation, real-world examples, and performance analysis
- Updates DIRECTORY.md to include the new linked list algorithms section
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| linked_list_algorithms/singly_linked_list.r | Complete singly linked list implementation with insert, delete, search, reverse, and cycle detection operations |
| linked_list_algorithms/doubly_linked_list.r | Bidirectional linked list with optimized traversal and head/tail access |
| linked_list_algorithms/circular_linked_list.r | Circular linked list with Josephus problem solver and round-robin scheduling examples |
| linked_list_algorithms/README.md | Comprehensive documentation covering all implementations, usage examples, and performance comparisons |
| DIRECTORY.md | Updated to include new linked list algorithms section with proper file references |
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.
Pull Request Overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.
@siriak Please see to this
Hacktoberfest 2025