Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
stralep
· 15y ago · 0 comments
If ordering is made by color&design, matching drops to O(n log(n)).
Again, with ordering, searching drops to O(log n)
Comments
[–]
sid0
15y ago
However, that actually requires ordering socks, which as we all know is O(not gonna happen).