Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set your subtitle preferences in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.
Optimizing the Algorithm for the Fibonacci Sequence
00:00 Optimizing the Algorithm for the Fibonacci Sequence.
00:05 There are at least two techniques you can use to make the Fibonacci sequence algorithm more efficient. In other words, to make it take less time to compute. These techniques ensure you don’t keep computing the same values over and over again, which is what made the original algorithms so inefficient. They’re called called memoization and iteration, and they’ll be covered in the next chapters in the course, starting with the first technique, memoization.
Become a Member to join the conversation.