O(n) sorting!

Here you can talk about everything that's offtopic.

Moderator: Dust

Post Reply
User avatar
Dust
The Boss
Posts: 9093
Joined: 01 Jan 1970 01:00
Contact:

O(n) sorting!

Post by Dust » 26 Feb 2007 13:48

I do what I think is right. But I don't think that what I think is right can not be wrong.
User avatar
Cyberia
Site Admin
Posts: 4790
Joined: 01 Jan 1970 01:00
Contact:

Re: O(n) sorting!

Post by Cyberia » 26 Feb 2007 14:03

Dust wrote:http://www.dangermouse.net/esoteric/intelligentdesignsort.html


...
I've highlighted the flaw in it.... next.
User avatar
Dust
The Boss
Posts: 9093
Joined: 01 Jan 1970 01:00
Contact:

Post by Dust » 26 Feb 2007 14:15

Och... but this one actually works:
http://www.dangermouse.net/esoteric/dropsort.html

(It's the first lossy sort algorithm I've seen)
I do what I think is right. But I don't think that what I think is right can not be wrong.
User avatar
Dust
The Boss
Posts: 9093
Joined: 01 Jan 1970 01:00
Contact:

Post by Dust » 26 Feb 2007 14:24

I like that page. Interesting language:
http://www.dangermouse.net/esoteric/piet.html

Just look at the example code:
http://www.dangermouse.net/esoteric/piet/samples.html
I do what I think is right. But I don't think that what I think is right can not be wrong.
User avatar
Cyberia
Site Admin
Posts: 4790
Joined: 01 Jan 1970 01:00
Contact:

Post by Cyberia » 26 Feb 2007 14:48

Would certainly be colourful.

I think I'd be crap at it though... never was very good at art.
Jora
Ex-boss
Posts: 2338
Joined: 01 Jan 1970 01:00
Contact:

Re: O(n) sorting!

Post by Jora » 26 Feb 2007 15:30

Obviously that is O(1), not O(n).
User avatar
Dust
The Boss
Posts: 9093
Joined: 01 Jan 1970 01:00
Contact:

Post by Dust » 26 Feb 2007 15:47

You need O(n) to print the result.
I do what I think is right. But I don't think that what I think is right can not be wrong.
Fuzzyduck
Posts: 67
Joined: 01 Jan 1970 01:00
Contact:

Post by Fuzzyduck » 02 Mar 2007 15:01

Seven posts in this thread and I can honestly say that I have absolutely no clue at all about which you speak.

Hats off to ya.
Gianna
Ex-boss
Posts: 1020
Joined: 01 Jan 1970 01:00
Location: Bavaria, Germany
Contact:

Post by Gianna » 05 Mar 2007 10:06

Still Brainfuck > Piet.

--G
Stormwern
Die-hard
Posts: 1006
Joined: 01 Jan 1970 01:00
Location: Sweden
Contact:

Post by Stormwern » 07 Mar 2007 12:30

The point is chaos=order beyond our understanding, exactly what I've always said about my desk.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest