I want to return something like this [\'4\', \'42\',\'420\'] for a given number: 420
I am using reduce to accumulate the number and using the index to concat the numb