Salesforce OA Guide | Exclusive OA Real Questions Release

Salesforce OA

Salesforce, boasting innovative cloud-computing solutions and a unique corporate culture, is a dream employer for many. As the global leading CRM platform, it setsindustry standards and offers vast career growth opportunities. This article shares our team’s experiences guiding students throughSalesforce OA and VO interviews, focusing on the significance of system design in these interviews.

First Round: Manager Screen

In this round, the communication atmosphere was relaxed and pleasant. It mainly revolved around behavioral questions, and the interaction was smooth.

Second Round: OA

There were several questions requiring effort and time to complete.

Salesforce OA – String Subsequences

Given two strings, determine the number of times the first one appears as a subsequence in the second one. A subsequence is created by deleting any number ofcharacters (possibly 0) from a string without changing the order of the remaining characters.

s1 = "ABC"
s2 = "ABCBABC"

The string s1 appears 5 times as a subsequence in s2 at 1-indexed positions of (1,2,3), (1,2,7), (1,4,7), (1,6,7), and (5,6,7). The answer is 5.

Function Description
Complete the function getSubsequenceCount:

  • s1 (length = 3)
  • s2 (length up to 5×105)

Return the number of times s1 appears as a subsequence in s2.

def getSubsequenceCount(s1, s2):
    n1, n2 = len(s1), len(s2)
    # dp[i][j]: number of ways s1[:i] appears in s2[:j]
    dp = [[0] * (n2 + 1) for _ in range(n1 + 1)]
    # empty s1 appears once
    for j in range(n2 + 1):
        dp[0][j] = 1
    for i in range(1, n1 + 1):
        for j in range(1, n2 + 1):
            if s1[i - 1] == s2[j - 1]:
                dp[i][j] = dp[i - 1][j - 1] + dp[i][j - 1]
            else:
                dp[i][j] = dp[i][j - 1]
    return dp[n1][n2]

Virtual Onsite (Four Rounds)

Round 1

A 20-minute behavioral session, followed by a system-design question: design an auto-complete function.

Round 2

The director round, focused mainly on behavioral questions.

Round 3

A coding session: given a list of text strings, remove punctuation and identify “synonyms,” defined as strings sharing thesame first two and last two words.

Round 4

A system-design question: design a job scheduler for sending and scheduling customer emails or text messages, including follow-ups.

Overall, Salesforce interviews emphasize system-design skills alongside coding and behavioral questions. If you’d like expertguidance to secure your offer in one go, contact ProgramHelp for OA proxy services, interview coaching, and more.

author avatar
ProgramHelp
END
 0
Comment(尚無留言)