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

### Run below command to look for more error occured during program execution

```bash

g++ -fsanitize=address -g ./3-Longest_Substring_without_repeating_characters.cpp -o out

```