Pergunta de entrevista da empresa Applied Research Laboratories

What is the most efficient way to remove all elements in an array in the programming language of your choice?