# randomized quick sort base case not working (sometime)

while implementing quick sort i thought that when there’s two or three element in the arr there’s no need to continue dividing the arr since if you just partitioned the pivot you will end up with a sorted array the problem is after adding started fluctuating between if e-s == 2 or e-s == 1:… Read More randomized quick sort base case not working (sometime)