🔵 Sort 0s, 1s and 2s (Dutch National Flag Algorithm)
Sorting an array containing only 0s, 1s, and 2s is a classic problem in Data Structures. Dutch National Flag Algorithm, which is highly efficient. Given an array arr[] containing only 0, 1, and 2, sort the array in ascending order without using built-in sort. Input: [0, 1, 2, 0, 1, 2] Output: [0, 0,


