Capital One interview question

how to design a messaging app?