3 ms·
Nice work! One other note, in addition to the comments here: the algorithm as it's currently written will drop repeated elements. You can easily fix that by cha
by bjarnagin 10y ago
Nice work! One other note, in addition to the comments here: the algorithm as it's currently written will drop repeated elements. You can easily fix that by changing `greater` to filter elements greater than or equal to the pivot.