[PR #948] [CLOSED] Added fractional_knapsack.c to greedy_approach #1482

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

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/948
Author: @rumbleFTW
Created: 6/10/2022
Status: Closed

Base: masterHead: fractional_knapsack


📝 Commits (3)

  • 9648f30 Added fractional_knapsack.c to greedy_approach
  • cae050c feat: add fractional_knapsack algorithm
  • 6e6c861 updating DIRECTORY.md

📊 Changes

2 files changed (+131 additions, -1 deletions)

View changed files

📝 DIRECTORY.md (+2 -1)
greedy_approach/fractional_knapsack.c (+129 -0)

📄 Description

Added fractional knapsack algorithm to greedy_approach directory

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:


🔄 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/948 **Author:** [@rumbleFTW](https://github.com/rumbleFTW) **Created:** 6/10/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fractional_knapsack` --- ### 📝 Commits (3) - [`9648f30`](https://github.com/TheAlgorithms/C/commit/9648f3060ccf77d924c84a5045cbd7fd3b5c8d7c) Added fractional_knapsack.c to greedy_approach - [`cae050c`](https://github.com/TheAlgorithms/C/commit/cae050cf460054c22bb132783c6f72ef11aa0d81) feat: add fractional_knapsack algorithm - [`6e6c861`](https://github.com/TheAlgorithms/C/commit/6e6c86132c48b31c70308cd1fc34019a92d52368) updating DIRECTORY.md ### 📊 Changes **2 files changed** (+131 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `DIRECTORY.md` (+2 -1) ➕ `greedy_approach/fractional_knapsack.c` (+129 -0) </details> ### 📄 Description #### Added fractional knapsack algorithm to greedy_approach directory <!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Contributors guide: https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md --> #### References <!-- Add any reference to previous pull-request or issue --> #### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [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. Notes: --- <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:21:15 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1482