Amazon Algorithms Flashcards
All algorithms solve a _______.
problem
_________ are little more than a series of step by step instructions.
algorithms
The essence of a really good algorithm is _________.
mathematics
The best algorithms are those that tap into the _______ mathematical structure hiding beneath a problem.
underlying
Algorithms are extremely old; they _______ computers by thousands of years.
predate
The _____ algorithm we know of was devised to solve a mathematical problem.
oldest
The oldest algorithm we know of was first written down by the ancient Greek mathematician ____.
Euclid
Euclid’s algorithm is a method for finding the greatest common _____.
divisor
The greatest common divisor is the largest number that will divide into a pair of other numbers without leaving a _______. For ex., 4 divides in both 8 and 12 without a ______.
remainder remainder
What are the 3 criteria that all algorithms have?
a precisely stated set of instructions, a procedure that always finishes, can be proven to work in all cases of the problem its solving
An algorithm is a _______ stated set of instructions.
precisely
The procedure of an algorithm always ______.
finishes
An algorithm must be ______ to work in all cases of the problem it’s solving.
proven
________ an algorithm requires creativity and genius but using them is just a matter of following instructions.
inventing
Computer code is basically making an algorithm _______; the algorithm is the _____ for how you would solve the problem, the rough instructions that you would use, and that can be translated into particular code.
specific idea