| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
@dcq-31 is attempting to deploy a commit to the midudev pro Team on Vercel. A member of the Team first needs to authorize it. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Add Binary Exponentiation algorithm to Divide and Conquer category
Summary
Adds Binary Exponentiation — the classic O(log n) fast-power algorithm — to the existing Divide and Conquer / Divide y vencerás category, which previously contained only Tower of Hanoi. Computes aⁿ by halving the exponent at each recursive step, visualized through the call stack concept so the logarithmic recursion depth is immediately visible.
This version is adapted to the current main architecture instead of the original older branch layout. The algorithm is wired through the catalog, dynamic loaders, localized content files, and per-language implementation packs so it works with the current app structure.
Changes
Visualization
Trace of binPow(2, 10) = 1024 shown as an animated call stack:
The same trace shows both cases naturally: