The time complexity to perform the modular exponentiation of a ≡ cg (mod m).
The time complexity to perform the modular exponentiation of a ≡ cg (mod m). Correct Answer O(g)
The modular exponentiation completely depends on the operating system environment and the processor for its performance. The above said method requires a time complexity of O(g) for its completion.
মোঃ আরিফুল ইসলাম
Feb 20, 2025