Domanda di colloquio di ServiceNow

Implement Math.pow() method efficiently and the order of complexity with proof.