Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Favorite algorithm

Name: Anonymous 2010-06-18 0:42

Please post about your favorite algorithm.

Mine is KMP algorithm for string searching, it is very nice.

All kinds welcome.

Name: Anonymous 2010-06-18 0:52

Hello World Algorithm, it solves the problem I encounter every morning when I need to great the world

Name: Charles Barkley 2010-06-18 0:57

BUBBLE SORT

Name: Anonymous 2010-06-18 1:11

My favourite is the FIBONACCI BUTT SORT.

Name: Anonymous 2010-06-18 1:56

>>4
this reminds me of when prog was good

Name: Anonymous 2010-06-18 2:00

>>5
Funny, it reminds me of /prog/ right now.

Name: Anonymous 2010-06-18 2:39

Dickstrap shunting yard algorithm

Name: Anonymous 2010-06-18 3:28

>>5
If you go back a few years through /prog/scrape you'll come to the realisation that /prog/ has been an almost unchanging statistical entity; with every actual change for the worse.

Name: Anonymous 2010-06-18 9:44

Every expert programmer knows that algorithms don't mean shit. Data structures are more important.

Name: Anonymous 2010-06-18 10:13

>>9
#define VALID_FIBONACCI 12
/* fibonacci table, precomputed for execution speed */
static const unsigned long long fibs_table[VALID_FIBONACCI] = { 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, }; /* add more if required */
unsigned long long fibs (unsigned int n) {
        if (n <= VALID_FIBONACCI)
                return fibs_table[n];
        else
                return (unsigned int) -1; /* TODO throw 'out of bounds' exception */
}

Name: Anonymous 2010-06-18 10:28

>>10
Obvious bug there.

Name: Anonymous 2010-06-18 11:08

>>8
That's a lie and you know it. /prog/ goes through cycles of good and shit, with a baseline of somewhere around okay in winter, and shit in summer.

Name: Anonymous 2010-06-18 11:14

I like A*, and am grateful to Xarn for discussing it. I'd used it once or twice before, but never understood it in the way I do now.

Name: Anonymous 2010-06-18 11:34

I like bucket sorts.

Name: Anonymous 2010-06-18 11:37

Algorithms are sooooooooooo sweet that I want to crap my pants.  I can't believe it sometimes, but I feel it inside my heart.  They are totally awesome and that's a fact.  Algorithms are fast, smooth, cool, strong, powerful, and sweet.  I can't wait to start MIT next year.  I love algorithms with all of my body (including my pee pee).

Name: Anonymous 2010-06-18 11:40

>>14
agreed, very simple and elegant, yet never that popular

Name: Charles Barkley 2010-06-18 13:00

>>13
I did an A* program for a robotics course I was taking. I had to do it in MATLab though :(

Would have been so much easier in just about anything else.

Name: Anonymous 2010-06-18 13:25

>>14,16
It's just a less elegant special case of the radix sort.

Name: air max shoes 2010-07-23 10:59

http://www.cheapairmaxs.com air max
http://www.cheapairmaxs.com air max shoes
http://www.cheapairmaxs.com/nike-air-max-2012-c-111.html nike air max 2012
http://www.cheapairmaxs.com/mens-air-max-2010-c-93.html mens nike air max 2010
http://www.cheapairmaxs.com/womens-air-max-2010-c-96.html womens nike air max 2010
http://www.cheapairmaxs.com/mens-air-max-2009-c-95.html mens nike air max 2009
http://www.cheapairmaxs.com/womens-air-max-2009-c-98.html womens nike air max 2009
http://www.cheapairmaxs.com/nike-air-max-2003-c-101.html nike air max 2003
http://www.cheapairmaxs.com/nike-air-max-97-c-94.html nike air max 97
http://www.cheapairmaxs.com/mens-air-max-95-c-102.html mens nike air max 95
http://www.cheapairmaxs.com/womens-air-max-95-c-103.html womens nike air max 95
http://www.cheapairmaxs.com/nike-air-max-93-c-106.html nike air max 93
http://www.cheapairmaxs.com/mens-air-max-91-c-104.html mens nike air max 91
http://www.cheapairmaxs.com/womens-air-max-91-c-105.html womens nike air max 91
http://www.cheapairmaxs.com/nike-air-max-89-c-121.html nike air max 89
http://www.cheapairmaxs.com/nike-air-max-88-c-112.html nike air max 88
http://www.cheapairmaxs.com/mens-air-max-87-c-108.html mens nike air max 87
http://www.cheapairmaxs.com/womens-air-max-87-c-109.html womens nike air max 87
http://www.cheapairmaxs.com/nike-air-max-180-c-123.html nike air max 180
http://www.cheapairmaxs.com/nike-air-max-360-c-124.html nike air max 360
http://www.cheapairmaxs.com/mens-air-max-ltd-c-122.html mens air max ltd
http://www.cheapairmaxs.com/womens-air-max-ltd-c-116.html womens air max ltd
http://www.cheapairmaxs.com/nike-air-max-bw-c-117.html nike air max bw
http://www.cheapairmaxs.com/air-max-premium-c-118.html air max premium
http://www.cheapairmaxs.com/air-max-skyline-c-114.html air max skyline
http://www.cheapairmaxs.com/air-max-zenyth-c-125.html air max zenyth
http://www.cheapairmaxs.com/nike-air-max-tn-c-115.html nike air max tn
http://www.cheapairmaxs.com/kids-air-max-90-c-119.html kids air max 90
http://www.cheapairmaxs.com/kids-air-max-bw-c-120.html kids air max bw

Name: Anonymous 2010-12-06 9:17

Back to /b/, ``GNAA Faggot''

Name: Anonymous 2010-12-21 11:00

Name: Anonymous 2010-12-22 0:55

Don't change these.
Name: Email:
Entire Thread Thread List