Salesforce logo

Salesforce Interview Question Bank

Salesforce's loop is bank-driven: a small set of coding prompts (LFU Cache, Flatten JSON, linked-list dedup, frontend curry + traffic light, OA HackerRank classics) and one signature system design (Coffee Ordering, with its SQL follow-ups) cover the bulk of recent rounds. Down-leveling at offer time is common — the HM screen and behavioural depth materially shape the final level, often more than coding correctness alone.

More
58
Before you start
Showing 25 of 25
Coding·30 min
LowFree preview

Frontend Traffic Light (HTML / CSS / JS)

Salesforce's signature frontend coding round, asked even of generalist / backend candidates applying to fullstack-titled roles. Build a traffic light that cycles red 4s → green 1s → yellow 1s using only HTML, CSS, and vanilla JavaScript (no React allowed in the CoderPad sandbox).

SWE
frontend
traffic-light
javascript
state-machine
+1
Last asked 2026-01-303 related discussions
System Design·45 min
MediumFree preview

Coffee Ordering System Design

Salesforce's signature backend SD prompt: design an online coffee ordering / management service end-to-end. Interviewers compress the design into 30 minutes and then drill on SQL queries and edge cases ("customers who never ordered", "top spender last month"), so a clean ER model and explicit notification flow are weighted more than novel architecture.

SWE
system-design
coffee-ordering
schema-design
sql
+3
Last asked 2026-02-094 related discussions

Salesforce Featured Guides