0

How many contained powers of two?
Take as input an integer as input in any reasonable format.
Then, output all the proper substrings of the base-10 digits of that integer that are powers of two, in any reasonable format.
Test cases
10230 -> [1, 2]
13248 -> [32, 1, 2, 4, 8]
333 -> []
331 -> [1]
32 ->