Fast Exponentiation Algorithm ⚑

Learn a quick method to calculate exponents efficiently using a simple algorithm based on basic math principles.

Fast Exponentiation Algorithm ⚑
Red Black Tech
3.9K views β€’ May 25, 2022
Fast Exponentiation Algorithm ⚑

About this video

This short describes an algorithm for calculating exponents.

This algorithm leverages something taught in elementary or middle school to obtain a fast (logarithmic) runtime.

Note: in the short I mention recursion, however there is also an iterative approach to solving this problem. I took the recursive route because I think recursion is cool.

Below is a link to the full algorithm that covers exponents that are not positive even numbers:
https://algotree.org/algorithms/numeric/fast_exponentiation/

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

3.9K

Likes

87

Duration

0:59

Published

May 25, 2022

User Reviews

4.6
(3)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.

Trending Now