Solution: Powerful Integers
Given x, y, and a bound, Solution: Powerful Integers asks you to return every distinct value at most the bound formed by adding a nonnegative power of x to one of y.
We'll cover the following...
We'll cover the following...
Statement
Given three integers x, y, and bound, return a list of all powerful integers whose value is less than or equal to bound.
An integer is considered powerful if it can be expressed as xy