← ALL NOTES
Math

50. Pow(x, n)

Let me be honest about this submission: it just calls std::pow and returns. It passes, but it sidesteps the entire point of the problem, which is to implement fast (binary) exponentiation yourself —…

Loading…