Pergunta de entrevista da empresa Test

Given an Integer split it digits and put them in a list with the same order of the integer.