As reported: Slack (Salesforce) MTS/SMTS Backend, "Nano Slack" problem-solving round (2025), 1.5 hours: 20 minutes to read a simplified Slack codebase (questions allowed), 1 hour to implement missing functionality for 4 requirements — all existing tests and the new ones must pass — and 10 minutes of scaling discussion and Q&A.
You are given a small, working chat service: users, channels, memberships and messages behind an HTTP API, stored in memory, with tests. Implement four features on top of it, in order:
- Threads — reply to a top-level message; channel history shows only top-level messages with a reply count; a thread endpoint lists the replies.
- Reactions — add and remove emoji reactions on a message, grouped per emoji with counts.
- Mentions — list the messages that
@-mention a user, newest first. - Unread counts — mark a channel as read, and list how many unread messages each of a user's channels has.
Every existing test must keep passing, and each feature needs tests. Then discuss how the design would scale to a real Slack.
Clarifications. The exact contract for each feature (endpoints, response fields, ordering, error codes) is in the repo's task description. The interviewer is interested in how quickly you find your way around unfamiliar code and follow its conventions, not only in finishing all four.
Open Build lab to work on a practice repo with a task like this one in a timed online workspace — as an online assessment or a live AI coding interview — then walk an AI interviewer through your change.