Project Euler 62 - Cubic permutations

Official link: https://projecteuler.net/problem=62

Thought Process

I generate an array where array[x] = list(str(x)), then if list(str(x)).count() = 5, it means that we have found numbers that produce the same list, which implies they are permutations of each other. Then we return the first instance of the list occurring.

Interactive Code

Please input an integer (yourinput)

Code will output the smallest cube for which exactly yourinput permutations of its digits are cube