I have a 1D array of numbers, I would like to creat a new array with
the same elements but element being at its own index.  for example,
old array being 1, 5, 6 then new array should be 0, 1, 0, 0, 0, 5, 6,
thanks

Reply via email to