Find the fewest steps to turn start into end, where each step multiplies the current value by any array element and takes the result modulo 100000 — or report it is impossible.
Loading content...