Open in app
Charles Stover
2.7K Followers
About

Sign in

2.7K Followers
About
Open in app
Charles Stover

Charles Stover

Feb 13, 2019·1 min read

You are correct. There is an off-by-one error. The recursive sorter should stop when end - start < 1, not when end - start < 2. This has been adjusted in the article and unit tests verify the accuracy.

Charles Stover

Senior front end engineer / charlesstover.com

There is something wrong in your algorithm/code, the quicksort feature does not work as expected…
22
1

Xavier Prud'homme

More from Charles Stover

Senior front end engineer / charlesstover.com

More From Medium

Testing AWS UI components with Jest

Charles Stover

New to React? Here are 10 tips you should know

Charles Stover

How to Apply Dark Mode to AWS UI Components

Charles Stover

Write actionable backlog items

Charles Stover

How to Apply Your Brand’s Theme to AWS UI Components

Charles Stover

Snapshot testing does not work in practice

Charles Stover

Replacing let with const

Charles Stover

Unit test your implementation of third party libraries

Charles Stover

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store