Mergesort P52205


Statement
 

pdf   zip   main.cc   main.py

thehtml

Write a procedure that sorts a vector in increasing order using the merge sort algorithm.

Interface

C++
void mergesort(vector<double>& V);
MyPy
mergesort(v: list[float]) -> None

Observation You only need to submit the required procedure; your main program will be ignored.

Information
Author
Jordi Petit
Language
English
Translator
Carlos Molina
Original language
Catalan
Other languages
Catalan
Official solutions
C++ Python
User solutions
C++ Python