Given two lists of small integers, is it possible to determine which list produces a larger result, when each element is raised to the power of the remaining elements? For example, the list 1,2,3
would be less than the list 5,4
, since 1^2^3 < 5^4
.
The challenge occurs when the lists are sufficiently long, and actually calculating the results of the lists far exceed the maximum numbers that can be accurately represented by a computer