Skip to content

Instantly share code, notes, and snippets.

View sdasdsda35435dfdfs's full-sized avatar
👨‍💻
code anytime, anywhere

sdasdsda35435dfdfs

👨‍💻
code anytime, anywhere
View GitHub Profile
@christophewang
christophewang / QuickSort.cpp
Last active November 8, 2024 03:18
Quick Sort in C++
#include <iostream>
void printArray(int *array, int n)
{
for (int i = 0; i < n; ++i)
std::cout << array[i] << std::endl;
}
void quickSort(int *array, int low, int high)
{