3 ms·yes, "create an array of length n" requires O(n) space.by thaumasiotes 15y agoyes, "create an array of length n" requires O(n) space.