What approach should be followed to slove this problem
Linear time sorting
hi @AbhishekAhlawat1102,
as the numbers are lie between 0 to 3 . range is small hence linear time sorting can be done by counting sort
What approach should be followed to slove this problem
hi @AbhishekAhlawat1102,
as the numbers are lie between 0 to 3 . range is small hence linear time sorting can be done by counting sort