Glossary term

What is counting array? Meaning for developers

An array where the index is the value and the box holds how many times it appears. It works when values are small whole numbers in a known range, like 26 letters.

Learn it properly · DSALesson 15: Basic HashingCounting with arrays and maps, how a hash table works inside, and why lookup becomes instant.

All DSA terms

Related terms

← All glossary terms, A to Z