mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-11 06:26:05 +08:00
0b5dde0ebb69f9647ed31ed3152fb01ea5916bb2
About Bubble Sort, bubble sort's working principle, algorithm analysis, best-worst case, such as information has been added. A person entering this pull request can easily learn about bubble sort. In addition, information about the swap process used in the algorithm is also included in the code how to work. To make this process is fully explained in the lower example is explained in the sample. In some places, design changes were made to make it look pleasing to the eye.
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 slows down the compiler process.
- Put comments in your code.
- Avoid struct. Instead use the class keyword.
- Add some test cases in the main-function.
- Can suggest any change in present algorithms(if needed).
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%