|
|
|
|
|
by ilzmastr
3888 days ago
|
|
I'm interested in the way you use the word "attack." I was looking at it from the perspective of you could never run into an input that would consistently sort in O(n^2) using randomized-quicksort. But your perspective (maybe this article's perspective) is that some malicious adversary could force the sorter to do extra work by knowing in advance the steps that they will take. Am I getting that right? Like from a flops security stand point? If so, why care about this situation? This only seems like a realistic scenario in very weird domains, like amazon web services messing with everyone's calls to some standard sorting code to charge them more cents for compute time or something... |
|