Problem 122 - efficient exponentiation
Problem 122 - efficient exponentiation

 - Depth first search, tracking best solution so far
 - Prune search space where possible
 - Optimize for even powers

mbuhot/mbuhot-euler-solutions,mbuhot/mbuhot-euler-solutions