what is the difference between bitset,array of bool ,vector of bool???
Need explanation of bitset
in vector or array of bool
0 and 1 are stored as bool hence take 1 byte to store
in case of bitset
0 and 1 are stored as bits so take only 1 bit
1byte=8 bit
hence we can say bitset can store 8times more than bool