How to Hunt Elephants – Comp Sci Style

Computer scientists hunt elephants using algorithm A:

1. Go to Africa 2. Start at the Cape of Good Hope 3. Work northward in an orderly manner, traversing the continent alternately East and West. 4. During each traverse a. Catch each animal seen b. Compare each animal caught to a known elephant c. Stop when a match is detected.

Experienced computer programmers modify Algorithm A by placing a known elephant in Cairo to ensure that the algorithm will terminate.

Sent by Alex


1 Star2 Stars3 Stars4 Stars5 Stars (Пока оценок нет)
Loading...