C2SiS interview question

Explain functioning of different types of memory cells.