Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/belanasaikiran/dsa-cpp
https://github.com/belanasaikiran/dsa-cpp
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/belanasaikiran/dsa-cpp
- Owner: belanasaikiran
- License: unlicense
- Created: 2024-08-28T18:40:41.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-12-03T04:21:44.000Z (about 2 months ago)
- Last Synced: 2024-12-03T05:25:26.084Z (about 2 months ago)
- Language: C++
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DSA with C++
### Basics
1.[Pointers](./pointers/main.cpp)
2. [Classes](./classes/main.cpp)
1. [Insertion Sort](./Insertion_Sort/main.cpp)
- Initially, it assumes the first element is already sorted. It takes the second element of an array and compares with first.
- If the first element is greater than 2nd, it swaps or else it ignores.
- Next, it takes the 3rd element, checks with 2nd if smaller, swap and repeat the same with 1st element.
- and so on..