mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-04 05:44:35 +00:00
[PR #1306] feat: add binary exponentiation algorithm #1907
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/TheAlgorithms/C/pull/1306
State: closed
Merged: No
Description of Change
Implementation of the binary exponentiation algorithm, which calculates the nth power of an integer in O(log(n)) time.
Checklist