Exponentiation
Understand the efficiency and effectiveness of the exponentiation algorithm.
We'll cover the following
Naïve method
Given a number and a positive integer , suppose we want to compute . The standard naïve method is a simple for
loop that performs multiplications by :
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy