MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/fjk6u1/sort_algorithm/fknq3nw/?context=3
r/ProgrammerHumor • u/Hamstorian • Mar 16 '20
614 comments sorted by
View all comments
137
Why aren't the cups in roygbiv order?
150 u/RainbowDarter Mar 16 '20 The table needs to be reindexed. 28 u/jasmin3dragon Mar 16 '20 Or it’s a hash index. So the order of the buckets doesn’t matter. You just have to search for exactly one color only, then you can find it super quick.
150
The table needs to be reindexed.
28 u/jasmin3dragon Mar 16 '20 Or it’s a hash index. So the order of the buckets doesn’t matter. You just have to search for exactly one color only, then you can find it super quick.
28
Or it’s a hash index. So the order of the buckets doesn’t matter. You just have to search for exactly one color only, then you can find it super quick.
137
u/ChaosOS Mar 16 '20
Why aren't the cups in roygbiv order?