|
Quick sort is is a different class completly. The var "data" is encapsulated in that class as a static var that all the other quick sort methods modify when doing the sort. I don't see why the var "input" would be modified after setting "data = input;" because it is not used anywhere else in the qsort class.
Where is my understanding breaking down?
|