Quick Sort in C#: A Generic, Span-Based Implementation
A quick sort implementation in modern C# that works on any comparable type, avoids the classic worst case on sorted input, and keeps stack depth under control.
A quick sort implementation in modern C# that works on any comparable type, avoids the classic worst case on sorted input, and keeps stack depth under control.