mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-05 03:29:46 +08:00
485d1b2bb8905639cb4436c59c3f22988197e882
- Run time error on linux. - 'n' is declared but not initialized, neither its value is taken from user. - 'n' contains garbage value, thus throws run time error.
C++
This repository contains some useful algorithms and data structures.
Contribute
How you can contribute? See this small guide.
- Use the directory structure of the repository.
- Please describe your pull requests.
- Don't use bits/stdc++.h because this is quite Linux specific and slow down the compiler process.
- Put in comments in your code.
- Avoid struct uses instead the class keyword.
- Add some test cases in the main-function.
Description
Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
https://thealgorithms.github.io/C-Plus-Plus
algorithmalgorithm-competitionsalgorithmsalgorithms-implementedartificial-intelligence-algorithmscomputer-sciencecppdata-structureseducationalhacktoberfestinstructor-materialsinterview-preparationinterview-questionsmachine-learningmachine-learning-algorithmsmathematicssearchsort
Readme
MIT
196 MiB
Languages
C++
98.6%
CMake
1.3%