QuickSort - Worst case input example when pivot is in the middle position always

后端 未结 0 1621
遥遥无期
遥遥无期 2021-01-19 02:34

What could be a worst case input example for QuickSort if I pick the pivot in the middle position? I am thinking about equals elements like 3,3,3,3 etc. Or could it take it

相关标签:
回答
  • 消灭零回复
提交回复
热议问题