Lab 2.2: Quick-sort in Ocaml
You cannot submit for this problem because the homework's deadline is due.
Description
Implement Quick-sort in OCaml.
We will use the following command to compile your source file.
ocamlopt -o quicksort str.cmxa quicksort.ml
Format
Submit a tar or zip file including a script named quicksort.ml.
Input
Nonnegative integers in one line, splitted by ','.
Output
Sorted numbers.
Sample IO
Input
104, 280, 444, 102, 18
Output
18 102 104 280 444
Lab 2(Ignore this)
- Status
- Finished
- Problems
- 2
- Open Since
- 2022-08-01 00:00
- DDL
- 2022-08-02 23:59
- Extension
- 72.0 hour(s)