Everything2
Near Matches
Ignore Exact
Full Text
Everything2

Zen Sort

created by jmeddle

(thing) by jmeddle (7.4 y) (print)   ?   (I like it!) 1 C! Sat Nov 11 2000 at 20:38:38

Sorting Algorithm based on the teachings of Zen Buddhism.

Procedure:
  • Examine the list
  • If it is not sorted, ask yourself the importance of sorting, and examine the list again.

(thing) by Geez (1 y) (print)   ?   (I like it!) 1 C! Thu Jul 12 2001 at 16:48:44

One of the class of O(1) and O(n) sorting algorithms (Others include Guess sort, Trust-me-on-this-one sort, Tao sort and In-time-for-the-deadline sort) the Zen sort is considered one of the prime accomplishments of drug use in the field of computer science

Algorithm for Zen sort:

  • Accept array of size n containing values to sort.
  • Initialize new array of size n to place ordered values in
  • For each item in first list
    • Consider inner nature until sorted location is clear
    • Copy to appropriate location in new list
  • return new list


printable version
chaos

Tao sort Sorting Algorithms How to flip a coin when you haven't got one Guess what? I'm NOT talking to myself.
spaghetti sort Dijkstra's algorithm bubble sort bullshit
Sex with random retired couples algorithm Sorting is O(n log n) Dragon Variation
Using lists of favourites to understand the flaws of bubble sort topological sort Deadlock introspection sort
bin sort inner nature The Guess Who ASCII sort order
Stop and wait random sort Sen Zort Zen
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Things you could have written:
Mind your Ps and Qs
lawnjarts
Robert Rodriguez
colcannon
Sandalwood
Bay leaf
Winnie Mandela
Benford's Law
Egyptian rat screw
A Christmas Carol
Ten reasons to believe in God
King of Birds
transitioning
New Writeups
locke baron
lynx(thing)
Simulacron3
Reality, Dimensions and the Natural Ontology(essay)
SubSane
Making Love to a 9-Foot Woman(person)
Ouzo
Thoughts(idea)
antigravpussy
I fall silent, listening. The breadcrumbs are talking about us(person)
calgon
Buffalo Bill by the pool(poetry)
gate
Anarchy is Order(idea)
ushdfgakjasgh
Scribeling(thing)
XWiz
Trism(review)
artman2003
Briefcase Full of Souls - Part I(fiction)
Dreamvirus
Alan Ladd(person)
waverider37
Harold Holt(person)
The Debutante
Until death do us part(fiction)
Ysardo
a brother to a sister(personal)
antigravpussy
your warm whispers(personal)
This page courtesy of The Everything Development Company