String array in Java
<p>Would it be possible to get an answer in pseudocode please, guys?</p>

<p>How could I write a method that, in O(n log n), takes a string array and removes null entries.</p>

<p>I appreciate you can't alter the array size which means I need to copy the contents over to a new one but I can only seem to do it with nested for-loops which compresses my algorithm time and would then become O(n^2)</p>
