Lab 2.2: Quick-sort in OCaml

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

Not Claimed
Status
Finished
Problems
2
Open Since
2021-09-30 00:00
DDL
2021-10-14 23:59
Extension
72.0 hour(s)