Skip to content

Releases: Davi-y08/Lib-BubleSort

QuickSort

Choose a tag to compare

@Davi-y08 Davi-y08 released this 07 Mar 20:54

😮 QuickSort

📱 Now you will be able to sort your lists faster!

v.1.0.2

BinarySearch

Choose a tag to compare

@Davi-y08 Davi-y08 released this 15 Feb 12:24

😮 BinarySearch

📱 Now, with your list sorted, you can do a binarySearch, to search
for the element you are looking for in a list...

How to use:

#include "MyLibBuble.h"
#include <iostream>
using namespace std;

int main() {
	int array[] = { 1, 2, 3, 4, 5 };
	int elementForSearch;

	cout << "Enter a number for search: ";
	cin >> elementForSearch;

	binarySearch(array, elementForSearch);
}

v.1.0.1