Selection sort

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.

Problem information

Author: Unknown
Translator: Carlos Molina

Generation: 2026-01-25T11:09:33.708Z

© Jutge.org, 2006–2026.
https://jutge.org
