[PR #1541] [CLOSED] Added functional operations to circular_linked_list.c #2150

Open
opened 2026-01-29 15:29:36 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/1541
Author: @swayam9705
Created: 12/19/2025
Status: Closed

Base: masterHead: swayam9705


📝 Commits (1)

  • 4912007 Added functional operations to circular_linked_list.c

📊 Changes

1 file changed (+179 additions, -115 deletions)

View changed files

📝 data_structures/linked_list/circular_linked_list.c (+179 -115)

📄 Description

Description of Change

Converted the circular linked list implementation from an interactive script to a functional library.

Changes: Encapsulated core operations into standalone functions.

Benefit:

  1. Operations are no longer dependent on stdin/user prompts
  2. Making the data structure reusable for external modules and automated unit testing.

References

This PR is with reference to PR #1531

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/1541 **Author:** [@swayam9705](https://github.com/swayam9705) **Created:** 12/19/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `swayam9705` --- ### 📝 Commits (1) - [`4912007`](https://github.com/TheAlgorithms/C/commit/4912007390275a7aae28bbcaac5c193c35d22fd8) Added functional operations to circular_linked_list.c ### 📊 Changes **1 file changed** (+179 additions, -115 deletions) <details> <summary>View changed files</summary> 📝 `data_structures/linked_list/circular_linked_list.c` (+179 -115) </details> ### 📄 Description #### Description of Change Converted the circular linked list implementation from an interactive script to a functional library. **Changes**: Encapsulated core operations into standalone functions. **Benefit:** 1. Operations are no longer dependent on stdin/user prompts 2. Making the data structure reusable for external modules and automated unit testing. #### References This PR is with reference to PR #1531 #### Checklist - [x] Added description of change - [x] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [x] Added tests and example, test must pass - [x] Relevant documentation/comments is changed or added - [x] PR title follows semantic [commit guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#Commit-Guidelines) - [x] Search previous suggestions before making a new one, as yours may be a duplicate. - [x] I acknowledge that all my contributions will be made under the project's license. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:29:36 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#2150