Matter (CA) interview question

Explain what is CAP theorem?