- #1

- 118

- 0

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

- Thread starter verdigris
- Start date

- #1

- 118

- 0

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

- #2

- 8

- 0

Algorithm to add two numbers:

c=a+b;

Tristan

c=a+b;

Tristan

- #3

- 218

- 0

nope it's binary negation.

- #4

- 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,164

- 198

Constructing data perhaps?: (cons a b)

- #6

- 8

- 0

Regards,

Tristan Jones

- #7

AlephZero

Science Advisor

Homework Helper

- 6,994

- 291

As any fule kno, the most... there is no "most usefule algorithm ever written" ...

- #8

- 161

- 0

- #9

ranger

Gold Member

- 1,676

- 1

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

- 50

- 0

...The Pythagorean theorum is the most useful ever devised.Which algorithm is the most useful and compact that anyone has written?

- #11

DaveC426913

Gold Member

- 18,934

- 2,425

How to Make a Baby

Virtually everyone alive has made use of it.

- #12

- 336

- 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,146

- 1

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.Algorithm to add two numbers:

c=a+b;

Tristan

- #14

- 8

- 0

Regards,

Tristan Jones

- Replies
- 78

- Views
- 8K

- Last Post

- Replies
- 2

- Views
- 2K

- Replies
- 5

- Views
- 781

- Replies
- 16

- Views
- 4K

- Last Post

- Replies
- 2

- Views
- 14K

- Last Post

- Replies
- 12

- Views
- 2K

- Replies
- 2

- Views
- 2K

- Replies
- 5

- Views
- 7K

- Replies
- 8

- Views
- 976

- Replies
- 4

- Views
- 704