Skip to content

Instantly share code, notes, and snippets.

@caffeine-potent
Created March 7, 2018 00:52
Show Gist options
  • Save caffeine-potent/c30eba91210057cb9fe146445701e121 to your computer and use it in GitHub Desktop.
Save caffeine-potent/c30eba91210057cb9fe146445701e121 to your computer and use it in GitHub Desktop.
Quicksort from BabySnake#6314
quicksort=: (($:@(<#[), (=#[), $:@(>#[)) ({~ ?@#)) ^: (1<#)
List =: ?. 10 $100
echo quicksort List
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment