Microsoft interview question

How to efficiently compute m^n?