[PR #1361] [CLOSED] added activity selection problem #1962

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

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/1361
Author: @risanlang
Created: 10/23/2023
Status: Closed

Base: masterHead: BRANCH_RISAN


📝 Commits (1)

  • 3d19f21 added activity selection problem

📊 Changes

1 file changed (+192 additions, -0 deletions)

View changed files

greedy_approach/activity_selection.c (+192 -0)

📄 Description

Description of Change

References

Checklist

  • [ x] Added description of change
  • [ x] I acknowledge that all my contributions will be made under the project's license.

Notes: Solving of Activity Selection Problem Using Greedy Technique
After arranging the list of activities in increasing order of their End time
Screenshot from 2023-10-23 16-10-26
We see that maximum seven activity A1,A3,A4,A6,A7,A9,A10 without any conflicting activity timing


🔄 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/1361 **Author:** [@risanlang](https://github.com/risanlang) **Created:** 10/23/2023 **Status:** ❌ Closed **Base:** `master` ← **Head:** `BRANCH_RISAN` --- ### 📝 Commits (1) - [`3d19f21`](https://github.com/TheAlgorithms/C/commit/3d19f21ed384c5c588488b7b86045ccb82c50d06) added activity selection problem ### 📊 Changes **1 file changed** (+192 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `greedy_approach/activity_selection.c` (+192 -0) </details> ### 📄 Description #### Description of Change <!-- 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] I acknowledge that all my contributions will be made under the project's license. Notes: Solving of Activity Selection Problem Using Greedy Technique After arranging the list of activities in increasing order of their End time ![Screenshot from 2023-10-23 16-10-26](https://github.com/TheAlgorithms/C/assets/45064175/6e0bda40-8652-48f1-86c7-f093c06ebb5e) We see that maximum seven activity A1,A3,A4,A6,A7,A9,A10 without any conflicting activity timing --- <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:26:48 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1962