- #1

verdigris

- 119

- 0

Which algorithm is the most useful and compact that anyone has written?

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- Thread starter verdigris
- Start date

- #1

verdigris

- 119

- 0

Which algorithm is the most useful and compact that anyone has written?

- #2

TristanJ

- 8

- 0

Algorithm to add two numbers:

c=a+b;

Tristan

c=a+b;

Tristan

- #3

whatta

- 256

- 0

nope it's binary negation.

- #4

TristanJ

- 8

- 0

Hmm, what about the algorithm to move an integer number from one memory location to another:

a=b;

a=b;

- #5

verty

Homework Helper

- 2,185

- 198

Constructing data perhaps?: (cons a b)

- #6

TristanJ

- 8

- 0

Regards,

Tristan Jones

- #7

AlephZero

Science Advisor

Homework Helper

- 7,025

- 297

... there is no "most usefule algorithm ever written" ...

As any fule kno, the most

- #8

haki

- 161

- 0

- #9

ranger

Gold Member

- 1,685

- 2

I did one to do permutations on any number of characters and output it to a text file. I'm talking of hours of data crunching and huge huge text files. It even used about 90% of processor power on my lower end machine. This is the best way I've found to use up space on someone's computer :tongue2:

Last edited:

- #10

rdx

- 50

- 0

Which algorithm is the most useful and compact that anyone has written?

...The Pythagorean theorum is the most useful ever devised.

- #11

DaveC426913

Gold Member

- 21,183

- 4,617

How to Make a Baby

Virtually everyone alive has made use of it.

- #12

3trQN

- 337

- 1

how about:

(B^M)->(P)

Its a most satisfying algorithm, i found it most useful.

(B^M)->(P)

Its a most satisfying algorithm, i found it most useful.

- #13

-Job-

Science Advisor

- 1,157

- 2

Algorithm to add two numbers:

c=a+b;

Tristan

The implementation of basic operations such as multiplication/division and even addition at the circuit level often use some interesting algorithms for optimization and speed. I'm not sure if you were being serious or not.

- #14

TristanJ

- 8

- 0

Regards,

Tristan Jones

Share:

- Last Post

- Replies
- 10

- Views
- 795

- Replies
- 22

- Views
- 743

- Last Post

- Replies
- 0

- Views
- 294

- Last Post

- Replies
- 3

- Views
- 491

- Replies
- 0

- Views
- 453

- Last Post

- Replies
- 0

- Views
- 311

- Last Post

- Replies
- 1

- Views
- 1K

- Replies
- 6

- Views
- 507

- Last Post

- Replies
- 0

- Views
- 372

- Replies
- 1

- Views
- 723