C-Plus-Plus icon indicating copy to clipboard operation
C-Plus-Plus copied to clipboard

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

Results 378 C-Plus-Plus issues
Sort by recently updated
recently updated
newest added

### Detailed description though the repo consist of all the possible alogorithms existing today but their demonstration in solving the problems asked in big tech companies will be much better....

enhancement

adding time complexity of merge sort definition

#### Description of Change #### Checklist - [ ] 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 and example,...

### Detailed description A merge sort tree data structure, which supports the following operations: - $[l, r, k]$: Count number of elements $< k$ (could be replaced with $\leq, >,...

enhancement

The current code is more efficient and more structured than the previous one, both in terms of readability and performance. I removed some unnecessary checks and added more documentation ####...

awaiting modification
Improvement

#### Description of Change I have added Binary addition algorithm that takes two binary numbers as string and return a string containing a binary number equals to sum of above...

awaiting modification

#### Description of Change #### Checklist - [ ] 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 and example,...

Space Complexity Time complexity

This pr is for issue #2770 #### Description of Change #### Checklist - [ ] 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) -...

### Detailed description Pollard’s Rho Algorithm is an efficient method for integer factorization, particularly effective for finding small non-trivial factors of large composite numbers. Developed by *John Pollard in 1975*,...

enhancement