[PR #1549] docs: add documentation for linear search #2156

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

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/1549
Author: @Guddu-06
Created: 1/15/2026
Status: 🔄 Open

Base: masterHead: patch-1


📝 Commits (1)

  • ceebb29 docs: add documentation for linear search

📊 Changes

1 file changed (+25 additions, -2 deletions)

View changed files

📝 searching/linear_search.c (+25 -2)

📄 Description

Added documentation and clarifying comments to the linear search exaple (no functional/algorithmic changes)

Description of Change

This PR adds documentation and clarifying comments to the linear search implementation without changing its behavior

References

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.

Notes: Documentation only update for clarity.


🔄 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/1549 **Author:** [@Guddu-06](https://github.com/Guddu-06) **Created:** 1/15/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`ceebb29`](https://github.com/TheAlgorithms/C/commit/ceebb2990b15ccb7c2c0cc222d22cb2f7d306b44) docs: add documentation for linear search ### 📊 Changes **1 file changed** (+25 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `searching/linear_search.c` (+25 -2) </details> ### 📄 Description Added documentation and clarifying comments to the linear search exaple (no functional/algorithmic changes) #### Description of Change This PR adds documentation and clarifying comments to the linear search implementation without changing its behavior #### References <!-- No references --> #### Checklist - [x] Added description of change - [ ] Added file name matches File name guidelines - [ ] Added tests and example, test must pass - [x] Relevant documentation/comments is changed or added - [x] PR title follows semantic commit guidelines - [ ] 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. Notes: Documentation only update for clarity. --- <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:41 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#2156