A bitset is a collection of non-negative integers that are depicted as arrays in Scala. Variable in size, these arrays are packed into 64-bit words. In a bitset, the most significant number determines the memory footprint.

BY Best Interview Question ON 08 Feb 2019