News for hackers. Stuff that matters.
Re:What I Wish I Knew When Learning Haskell by sullyj3 on Sunday April 12, 2020 @10:31AM (#22848475)
The reason the first element is used as the pivot is that these are linked lists, not arrays, so it would take linear time to access the middle and end. This isn't a real quicksort.

There are no comments on this comment yet.