Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/belanasaikiran/dsa-cpp


https://github.com/belanasaikiran/dsa-cpp

Last synced: about 2 months ago
JSON representation

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..