← Interview experiences
Rejected

SMTS at Salesforce

Difficulty
Process took
1-2 Weeks
Rounds
4
Format
Remote
Applied via
Other

How it went

  • Rejection is feedback, not failure.

What they would tell you

  • Rejection is feedback, not failure.

How to prepare

  • Prep Arrary, Graph, Tree, DP

Their background

MTS at Fintech Company with more than 5 year experience

Round by round

  1. 1

    OA60 min

    Two Questions Q1: You need to design a classification system that determines whether a given text is spam based on a provided list of spam words. A text will be labeled spam if it contains two or more occurrences of spam words. Multiple appearances of the same spam word are counted individually toward the total. Spam word matching is case-sensitive. Function Signature: vector<string> classifyTexts(vector<string> texts, vector<string> spamWords); Input:

    • texts: A list of strings representing the texts to evaluate.

    • spamWords: A list of strings representing the spam words. Output:

    • A list of strings where each element is either spam or not spam, indicating the classification of the corresponding text.

    Q2: A popular social media platform offers a feature to connect people online. The connections between users are modeled as an undirected graph, where each node represents a user, and edges represent connections between users. If a user is directly or indirectly connected to another user, they can view that user’s profile. The network consists of nodes:

    • Each user is numbered from 1 to nodes.
    • Each connection is represented by two arrays u and v, where u[i] is connected to v[i].
    • The queries array contains a list of user IDs. For each user ID in queries, return the number of profiles that user can view. A user can always view their own profile. The output should be an array of integers where the i-th value corresponds to the number of profiles viewable by the i-th query user. Example Input: u = [2, 1, 4, 5] v = [1, 3, 5, 6] queries = [1, 5, 7] Output [3, 3, 1]
  2. 2

    DSA60 min

    Again 2 Questions

  3. 3

    HLD60 min

    A property dealer runs a website where brokers and merchants can list their properties. Each property listing contains photos, location information, and basic property details. Now, the dealer wants to move away from the current system and migrate to a more scalable, faster, and secure platform. The new solution should be cloud-based, ensuring data consistency, high performance, and the ability to handle future growth without issues. Your Task:

    • Ask clarifying questions to understand all requirements in detail.
    • Analyze the current system to identify pain points and limitations.
    • Go through the additional requirements listed below.
    • Design a complete system architecture that covers both functional and non-functional needs.
  4. 4

    Hiring Manager Round60 min

    In my Hiring Manager round, we talked about one of my main projects what I built, how I built it, and the tough parts I faced. He asked how I get design documents approved, the tools I used, and how I would rebuild it if I wasn’t limited to Azure and could use open‑source tools.

What came up

HardRemote5+ years

A candidate-reported account, lightly edited. Interview processes change by team and date.

Sources