Skip to content

Instantly share code, notes, and snippets.

Grega Mohorko GregaMohorko

Block or report user

Report or block GregaMohorko

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@GregaMohorko
GregaMohorko / BinarySearchTree.cpp
Created Aug 3, 2017
An implementation of Binary Search Tree data structure.
View BinarySearchTree.cpp
#include <sstream>
#include <iostream>
#include <ctime>
using namespace std;
struct element
{
element* next;
};
@GregaMohorko
GregaMohorko / QuickSort.cpp
Created Aug 5, 2017
An implementation of Quick Sort algorithm with median.
View QuickSort.cpp
#include <sstream>
#include <iostream>
#include <cstdlib>
#include <time.h>
#include <math.h>
using namespace std;
int divide(int* a, int bottom, int top);
void switchAt(int* a, int bottom, int top);
You can’t perform that action at this time.