Comment
Comment by sannysanoff
while both versions are O(N^2), your version is slower because comparison operation, which affects execution speed. This is suboptimal.
upd: in ngn/k, situation is opposite ;-o
Be the first to share your thoughts.