Sum the elements and resize the array to that length? 

Reply via email to