In course videos mam didn’t teach counting sort algorithm . how can i do this
Don't know this algorithm
hey @nigamshubham1998
Counting sort is a sorting technique based on keys between a specific range. It works by counting the number of objects having distinct key values (kind of hashing). Then doing some arithmetic to calculate the position of each object in the output sequence.
you can see this