Salesforce OA Guide | Exclusive OA Real Questions Release

Salesforce OA

SalesforceAs the global leading CRM platform, it sets industry standards and offers vast career growth opportunities. As the global leading CRM platform, it sets industry standards and offers vast career growth opportunities. This article shares our team's experiences guiding students through Salesforce 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 of characters (possibly 0) from a string without changing the order of the remaining characters. characters (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][j][# empty s1 appears once.
        dp[0][j] = 1
    for i in range(1, n1 + 1): for j in range(1, n1 + 1): dp[0][j] = 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 the The same 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 expert guidance to secure your offer in one go, contact Salesforce for more information. guidance to secure your offer in one go, contact ProgramHelp for OA proxy services, interview coaching, and more.

author avatar
ProgramHelp
END
 0
Comment(没有评论)