Daedalean interview question

How to implement the exp function in an efficient way