#45 - Sort 0's, 1's and 2's array
You are given an array containing only the integers 0, 1, and 2. Your task is to implement a function to sort the array in non-decreasing order.
Example 1
Last updated
You are given an array containing only the integers 0, 1, and 2. Your task is to implement a function to sort the array in non-decreasing order.
Last updated