C-Plus-Plus
                                
                                 C-Plus-Plus copied to clipboard
                                
                                    C-Plus-Plus copied to clipboard
                            
                            
                            
                        Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
#### Description of Change fixed comment typo #### Checklist - [x] Added description of change - [ ] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/CONTRIBUTING.md#New-File-Name-guidelines) - [ ] Added tests...
#### Checklist - [x] Added description of change - [x] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/CONTRIBUTING.md#New-File-Name-guidelines) - [x] Added tests and example, test must pass - [x] Added documentation...
Add [unbounded knapsack](https://www.geeksforgeeks.org/unbounded-knapsack-repetition-items-allowed/) algorithm, class `dynamic_programming::unbounded_knapsack`. Documentation and test cases included. #### Description of Change #### Checklist - [x] Added description of change - [x] Added file name matches [File...
### Detailed description There are two problems "Subset Sum" that are the same in Backtracking (C++). Please remove it. ### Context This change would make the feature of this website...
#### Description of Change Fix #2687 #### Checklist - [x] Added description of change - [x] Added tests and example, test must pass - [x] PR title follows semantic [commit...
#### Description of Change #### Checklist - [x] Added description of change - [x] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/CONTRIBUTING.md#New-File-Name-guidelines) - [x] Added tests and example, test must pass...
#### Description of Change I've added an implementation of iterative quick sort. It uses the stack instead of recursion. #### Checklist - [x] Added description of change - [x] Added...
What I have done in this PR: - Reorganize code in `data_structure` namespace and `Stack` class - The destructor is added to the `Stack` class to ensure memory deallocation -...
#### Description of Change - **Using a vector to store Fibonacci numbers**: Instead of using two strings `fibMinus1` and `fibMinus2` to store the last two Fibonacci numbers, we used a...
### Description ``` /wrkdirs/usr/ports/math/the-algorithms-c++/work/C-Plus-Plus-2dadbf7/data_structures/queue_using_array2.cpp:12:9: error: reference to 'queue' is ambiguous 12 | queue[rear++] = x; | ^ /wrkdirs/usr/ports/math/the-algorithms-c++/work/C-Plus-Plus-2dadbf7/data_structures/queue_using_array2.cpp:4:5: note: candidate found by name lookup is 'queue' 4 | int queue[10];...