Generic mergesort in Ada Language

Budget 104$ per month
Posted: 5 years ago
Opened
Description
I need a generic merge sort algorithm in Ada with the following generic declaration:

generic

type Element_Type is private;

with function Compare(A: in Element_Type; B: in Element_Type) return Integer;

type Element_Array is array (Integer range ) of Element_Type;

procedure merge_sort ( AnArray: in out Element_Array);
Skills:
Ada programming language,sorting algorithm
Category
Source: peopleperhour.com

Add a bid

days