Posting my full interview loop for Salesforce. This one had a good mix of coding, design, and behavioral rounds. Hope this helps anyone preparing!
Problem 1:
Given an array of integers, for each index, return two strings indicating:
Problem 2:
After every update (turning a 0 to 1 in a binary array, input array for indicating which indexes to convert will be given), return the number of sweeps needed to sort the array into non-decreasing order.
Topic: Job Scheduler System
Covered both LLD + HLD aspects.
Focus was on write LLD code for job creation, persistence, dispatching, and execution flow.
Topic: Migration strategy from Memcached to Redis
Key discussion points:
Coding:
Check if a string is a k-tolerant palindrome (can delete at most k characters to make it a palindrome).
HLD:
Design a Distributed Priority Queue for job processing with multiple consumers.
Behavioral:
Project deep dives and leadership principle-style questions focused on ownership, technical decision-making, and collaboration.
Salesforce interviews emphasize:
Let me know if anyone wants prep suggestions. Good luck to everyone applying!
Verdict: Offer Rejected