This project implements a research paper that demonstrates how carefully constructed adversarial input can lead to worst-case performance in Java's Arrays.sort(), which uses a dual-pivot Quicksort algorithm. The project highlights how poor pivot selection can cause time complexity to degrade from its optimal case, illustrating the need for smarter pivot strategies. By generating these worst-case inputs, the implementation provides insights into how even highly optimized algorithms can fail under specific conditions, emphasizing the importance of robust algorithm design.
-
Notifications
You must be signed in to change notification settings - Fork 0
0xMotazMohamed/A-Killer-Adversary-for-Quicksort
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This project demonstrates a specifically crafted adversarial input designed to expose weaknesses in the Quicksort algorithm.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published