the too broad (need focus) close reason, as well as opinionated/resource requests, are meant to prevent questions that are too likely to result in an unmanageable mess of endless answers because there's far too many open variables.
I would have liked for the op to have provided a link to a resource explaining what quicksort is, to them, but... otherwise i don't really see an issue with the question in this case. you could take almost any how to question and come up with 25 variations if you try hard enough