You are viewing a single comment's thread. Return to all comments →
yep, it's misleading. pivot only added to equal array. refer to this sentence:
where each element in left<p, each element in right>p, and each element in equal=p
it's not right>=p
right>=p
Seems like cookies are disabled on this browser, please enable them to open this website
Quicksort 1 - Partition
You are viewing a single comment's thread. Return to all comments →
yep, it's misleading. pivot only added to equal array. refer to this sentence:
where each element in left<p, each element in right>p, and each element in equal=p
it's not
right>=p