4 ms·
I never claimed garbage collection was free, but the point was memory complexity and not computational complexity. So claiming that the implementation would be
by Rockslide 7y ago
I never claimed garbage collection was free, but the point was memory complexity and not computational complexity. So claiming that the implementation would be O(n * n) in terms of memory complexity still doesn't make sense to me.