SyntaxFix
Write A Post
Hire A Developer
Questions
Ideally the pivot should be the middle value in the entire array. This will reduce the chances of getting worst case performance.