Sort 0, 1, 2 (Dutch National Flag Algorithm)
When I first solved the 0s and 1s segregation problem, it felt simple. If you haven’t seen it, you can check it here:🔗 https://shubhamsinghbundela.hashnode.dev/segregate-0s-and-1s-in-place-sorting
Apr 7, 20263 min read8
