CodingReported in a candidate post, Aug 2021
Write a power function
Filed under MathWorks
The question
Write an optimized function to calculate the power of a number and state its time complexity.
No write-up yet. Related questions below have one.
Related MathWorks questions
Collected from public candidate posts and coding forums. Updated Nov 2026.