the-evolution-of-a-go-programmer
the-evolution-of-a-go-programmer copied to clipboard
O(n) -> O(n-1)
trafficstars
This would close #7
Also there's no such thing as O(n-1). It is still O(n).
If you mean complexity growth is linear, yes, it remains linear, but actual complexity is reduced from n cycles to n-1 cycles for any given n.
Also there's no such thing as
O(n-1). It is stillO(n).
Nope, there is. It's exactly the same thing as O(n).