Skip to content

Instantly share code, notes, and snippets.

View Levyathanus's full-sized avatar

Michele Zenoni Levyathanus

View GitHub Profile
@Levyathanus
Levyathanus / mergesort.pas
Last active July 26, 2020 12:58 — forked from MarshalX/mergeSort.pas
Merge sort on Pascal
program merge_sort;
const
dim = 9;
var
v: array [1..dim] of integer = (5, 9, 1, 3, 4, 6, 6, 3, 2);
i: integer;
procedure MergeSort(min, max: integer);