LeetCode-Solutions
LeetCode-Solutions copied to clipboard
Dutch national flag problem
Hi there !! In the Javascript Folder, I have added the below Problem there it is not present, and also it is a leetcode problem. Problem Statement Given an array A[] consisting of only 0s, 1s, and 2s. The task is to write a function that sorts the given array. The functions should put all 0s first, then all 1s, and all 2s in last. This problem is also known as Dutch National Flag.
Please Add Hacktoberfest2022 or HacktoberfestAccepted label.
Hoping to hear from you soon and would love to contribute more to this repository.
Thank You !!
Dear Contributor,
Kindly Start ⭐ this repo. and Add your information in PARTICIPANTS.md file. After that only your PRs will be accepted. Don't avoid it.
Thank You.