14 lines
317 B
C++
14 lines
317 B
C++
#ifndef MYALGORITHMS_H
|
|
#define MYALGORITHMS_H
|
|
|
|
#include <vector>
|
|
|
|
void bubbleSort(std::vector<int>& v);
|
|
void CocktailSort(int arr[], int n);
|
|
void insertionSort(int arr[], int n);
|
|
void selectionSort(int arr[], int n);
|
|
void shellSort(int arr[], int n);
|
|
void quickSort(std::vector<int>& vec, int low, int high);
|
|
|
|
#endif
|