Is Quicksort a potential security risk?

后端 未结 6 1066
粉色の甜心
粉色の甜心 2021-02-02 13:20

I just wondered whether (with some serious paranoia and under certain circumstances) the use of the QuickSort algorithm can be seen as a security risk in an application

6条回答
  •  春和景丽
    2021-02-02 14:04

    If performance is something that matters, then QuickSort would seem a poor choice in most circumstances, security concern or not. Is there something that causes you to shy away from algorithms like Heapsort or Mergesort?

提交回复
热议问题