Intersection of 2 arrays Algorithm

A typical bit array shops kw bits, where w is the number of bits in the unit of storage, such as a byte or word, and K is some nonnegative integer. A bit array (also known as bit map, bit set, bit string, or bit vector) is an array data structure that compactly shops bits.

Intersection of 2 arrays source code, pseudocode and analysis