C icon indicating copy to clipboard operation
C copied to clipboard

Collection of various algorithms in mathematics, machine learning, computer science, physics, etc implemented in C for educational purposes.

Results 70 C issues
Sort by recently updated
recently updated
newest added

#### Description of Change #### References #### 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...

## Title: Report on Stack Overflow Vulnerability in C/sorting/binary_insertion_sort.c **Abstract:** This report highlights a stack overflow vulnerability in the `binary_insertion_sort.c` file within the `C/sorting` directory. The vulnerability leads to a...

bug

#### Description of Change Added a detailed implementation of level order traversal, also known as Breadth-First Search (BFS), for a binary tree. The provided code systematically traverses every node in...

#### Description of Change - Used "typedef" before the "struct" for avoiding the repetition of same code while using "struct node". - Used "for" loops for reducing the number fo...

#### Description of Change add new condition

#### Description of Change Add new function #### References #### Checklist - [ ] Added description of change - [ ] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [...

#### Description of Change #### References #### Checklist - [ ] Added description of change - [ ] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [ ] Added tests...

#### Description of Change Fixed a null pointer dereference issue in the dequeue method. If line 61 (if statement) is true, head will be set to null and line 65...

Stale

### What would you like to share? ![Screenshot_20240813-214823](https://github.com/user-attachments/assets/6c549b33-dc57-489b-ad8a-6a43a0f24433) I have tried setting externalConsole to true from false,yet this error keeps occuring,below is the configuration of my tasks.json : { "version":...

#### Description of Change Improve build times by making the builds parallel see TheAlgorithms/C-Plus-Plus/2714 for more information #### References #### Checklist - [x] Added description of change - [ ]...

Stale