How is an array sorted using the quicksort algorithm in typescript or javascript?

This is one of the most famous question asked during interviews. I have suggested the following typescript / relevant javascript solution:

Pretty cool right?

This is published as an npm package too

Nordible is a digital solutions provider helping organizations achieve their digital goals.

We develop and measure digital solutions, implement impactful brand promotion and SEO strategies and develop software driven by rigorous testing that help your business succeed online and beyond.

You can contact us at for business inquiries.

Follow us: