in reply to Completing a list/ array?

For somebody who doesn't know what data you work with, and who doesn't know what your problem is, your question is not understandable.

Please read How (Not) To Ask A Question, and follow its advise. Post a sample of the input data, the code you've written so far, what your expected outcome is, and where/why you are having trouble producing that output.