Quote:
|
would i have to use a count variable somewhere to count how many times mergesort is used?
|
Yes, you would.
Quote:
|
when i try to change anythiong about the comparable pivot, i get errors saying it hasnt been declared properly.
|
Have you considered checking to see if L actually contains anything? If it doesn't, why bother with pivot at all?