MaintainX Interview Question

Add features to an existing project How would you implement the mention feature in a chat application