Amazon Algorithms Flashcards

1
Q

All algorithms solve a _______.

A

problem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

_________ are little more than a series of step by step instructions.

A

algorithms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The essence of a really good algorithm is _________.

A

mathematics

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The best algorithms are those that tap into the _______ mathematical structure hiding beneath a problem.

A

underlying

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Algorithms are extremely old; they _______ computers by thousands of years.

A

predate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The _____ algorithm we know of was devised to solve a mathematical problem.

A

oldest

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The oldest algorithm we know of was first written down by the ancient Greek mathematician ____.

A

Euclid

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Euclid’s algorithm is a method for finding the greatest common _____.

A

divisor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

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 ______.

A

remainder remainder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the 3 criteria that all algorithms have?

A

a precisely stated set of instructions, a procedure that always finishes, can be proven to work in all cases of the problem its solving

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

An algorithm is a _______ stated set of instructions.

A

precisely

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

The procedure of an algorithm always ______.

A

finishes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

An algorithm must be ______ to work in all cases of the problem it’s solving.

A

proven

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

________ an algorithm requires creativity and genius but using them is just a matter of following instructions.

A

inventing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

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.

A

specific idea

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Some of the most important algorithms are ______ algorithms.

A

sorting

17
Q

Sorting algorithms put things in _____. For ex., on the internet information gets broken down into packets of data, which then get sent across the web. To reassemble that data, sorting algorithms are absolutely crucial to putting this data back in the ______ _____ so that we can view the picture or read the email we’ve just been sent.

A

order correct order

18
Q

There are over __ different types of sorting algorithms (Bubble sort, Merge sort, Insertion sort, Heap sort, Quick sort, Time sort, Gnome sort, Pigeonhole sort or Radix sort, Bogosort, etc); they all achieve the same result by _________ means.

A

20 different

19
Q

Each sorting algorithm has its ____ and ____; which one to use often depends on the ________ of the problem.

A

pros cons specifics

20
Q

______ websites use a matching algorithm.

A

dating

21
Q

The ______ ______ algorithm (also known as the stable marriage algorithm) is a _________ algorithm and is being used all over the world for things like matching children to day care places, or students to schools, or to allocate rabbis to synagogues.

A

Gayle Shapley matching

22
Q

In the UK a ______ algorithm is used to match organ donors and recipients.

A

matching

23
Q

The important features of a good algorithm is it being fast and correct; ______!

A

efficient

24
Q

It’s a common ___________ that algorithms can do anything; some problems simply ______ be solved by efficient algorithms.

A

misconception cannot

25
Q

There is no efficient algorithm for the ______ _______ problem yet!

A

traveling salesman

26
Q

The traveling salesman problem applies to lots of ____; from soldering circuit boards to planning supermarket delivery routes, etc.

A

areas

27
Q

A _______ approach to an algorithm means an algorithm that is efficient that doesn’t find the perfect solution but gets as close as it can.

A

heuristic

28
Q

The ______ _______ algorithm uses the heuristic approach by trying to predict what order the aircraft are going to take off in; if it knows what order they can take off in, then it can work backward and say “if it needs to take off at this time, then it needs to enter the runway queue at this time, then it needs to finish its taxi at this time, therefore it needs to start its taxi operation at this time, in that case, it needs to finish its pushback at this time, so it needs to start its pushback by this time”— and it can work all the way back from what time it should take off to what time it should start pushing back.

A

Heathrow Sequencing

29
Q

The __________ of the Heathrow Sequencing algorithm is given to air traffic control through the airport’s internal computer system, and displays to the pilot at the gate the __________ pushback time (or what time he’s expected to take off).

A

output recommended

30
Q

The biggest benefit of the Heathrow Sequencing algorithm is that you can ____ aircraft from starting engines for _________ which saves on fuel without them taking off any later so there’s no delay for passengers.

A

hold longer

31
Q

The Heathrow Sequencing algorithm is not finding the absolute ______ solution all the time but it makes the controllers’ jobs of launching aircraft a lot easier.

A

perfect

32
Q

Heuristic means involving or serving as an aid to learning, discovery, or problem-solving by experimental and especially ____________ methods.

A

trial-and-error

33
Q

Heuristic means of or relating to exploratory problem-solving techniques that utilize ________________ techniques (such as the evaluation of feedback) to improve performance.

A

self-educating

34
Q

The connect skeletal tracking algorithm at Microsoft writes itself using _______ _______; it was designed for Kinect on Xbox.

A

machine learning

35
Q

The connect skeletal tracking algorithm was shown millions of training images of bodies in different poses and of various shapes and sizes, and from this, the algorithm essentially learned by example, devising its ___ ____.

A

own rules

36
Q

The designers of the connect skeletal tracking algorithm didn’t program the algorithm, they designed the training ____ ___ to capture all of the kind of variations that they expected to see when the system was deployed.

A

data set

37
Q

__________ algorithms can monitor and replenish the stock of products and ___________ customer demand.

A

forecasting anticipate

38
Q

______ ______ algorithms can manage the traffic of more than 7000 crates in a warehouse.

A

control system

39
Q

____ _____ algorithms can control the movement of a fleet of over 1500 vans testing over four million different route combinations every second.

A

van routing