Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 17th, 2018
138
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
def qsort(ary)
ary.size < 2 ? ary.dup : qsort(ary.drop(1).select {|x| x < ary.first }) + [ary.first] + qsort(ary.drop(1).select {|x| x >= ary.first })
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
C# | 3 min ago | 1.35 KB
Untitled
Lua | 20 min ago | 1.57 KB
Untitled
C | 21 min ago | 1.59 KB
Untitled
C | 22 min ago | 1.28 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 29 min ago | 0.38 KB
Pastebin No. 4
HTML | 30 min ago | 0.32 KB
Tiger style
LScript | 37 min ago | 20.90 KB
Maniac style V2
LScript | 39 min ago | 21.41 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!