Nathan Sprague
8/30/21
I need to write Python code to find the largest gap between any pair of numbers in a list:
Goal: develop a function that maps from input size to the number of steps
…
Consider the following (very) informal definitions:
A reasonably fast computer can perform 1,000,000,000 operations per second
A reasonably short period of time is one second
A program is good enough if it can process 1,000,000 items in a reasonably short period of time on a reasonably fast computer.
Assume that
Consider the following (very) informal definitions:
A reasonably fast computer can perform 1,000,000,000 operations per second
A reasonably short period of time is one second
A program is not totally useless if it can process 100 items in a reasonably short period of time on a reasonably fast computer.
Assume that
Space, Right Arrow or swipe left to move to next slide, click help below for more details