Salesforce interview questions
77 questions · 3 free · most-asked first · updated December 2026
77 practice questions for Salesforce interviews, ordered by how often candidates report them. They cover coding (34), system design (23), behavioral (11), SWE fundamentals (5). 3 are free to read and run; Pro unlocks all of them with a step-by-step walkthrough, a reference solution and tests you can run in the browser.
About Salesforce interviews: rounds, topics and FAQ
- By round
- Onsite (40), Technical Screen (21), Online Assessment (8), Other (7), HR Screen (1)
- By difficulty
- Medium (65), Hard (10), Easy (2)
- Roles
- Software Engineer (70), Member of Technical Staff (5), Backend Engineer (1), Machine Learning Engineer (1)
- Common topics
- distributed systems, greedy, recursion, tree, array, depth first search, dynamic programming, linked list
Salesforce interview FAQ
What does the Salesforce coding interview cover?
34 questions here are coding and algorithms problems; the most common topics are greedy, array, depth first search, dynamic programming, recursion, tree. Most are medium difficulty, with tests you can run in the browser.
Does Salesforce ask system design questions?
Yes: 25 questions here are system or ML design problems, mostly from the onsite round. Each has a worked answer covering requirements, design and trade-offs.
Which Salesforce interview rounds are these questions from?
Candidates report them from these rounds: Onsite (40), Technical Screen (21), Online Assessment (8), Other (7), HR Screen (1).
Are these the exact questions Salesforce asks?
No. They are practice questions written by PassOnsite around topics candidates report from Salesforce interviews. PassOnsite is not affiliated with or endorsed by Salesforce.
How many Salesforce questions are free?
3 of the 77, the most-asked ones. Pro ($9.99/month or $79/year) unlocks all of them, plus every other company's questions.
Updated December 2026.
Coding & Algorithms (34)
- Least Frequently Used Cache Hard Pro
- Longest Simple Path in a Tree Medium Pro
- Grid Square Area and Increasing Subsequence Length Medium Pro
- Minimum Total Peak Cost Across k Phases Medium Pro
- Root-to-Leaf Path Sum Medium Pro
- Prefix-Aligned Steps During Permutation Bit Flips Medium Pro
- Partitioning a Digit String into Prime Segments Medium Pro
- Purge All Repeated Values from an Unsorted Linked List Medium Pro
- Grouping Character Permutations in O(nm) Time Medium Pro
- Minimum Signed Power-of-Two Moves to Reach Zero Medium Pro
- Minimum Unique-Character Substrings After Erasing One Letter Medium Pro
- Identify the Celebrity in an Acquaintance Matrix Medium Pro
- Kth Smallest Element in an Array-Backed BST Medium Pro
- Lowest Common Ancestor in a Parent-Pointer Forest Medium Pro
- Extract Sorted Paths to String Leaves in Nested Data Medium Pro
- Lexicographically Sorted Balanced Parentheses Medium Pro
- Enumerating Generalized Word Abbreviations Medium Pro
- Overflow-Safe 64-Bit Modular Exponentiation Medium Pro
- Divide-and-Conquer Array Merge Sort Medium Pro
- Fewest Operations to Reach One Medium Pro
- Verify Numeric-Skip Word Abbreviations Medium Pro
- Non-Adjacent Form of an Integer Medium Pro
- Fewest Unique-Character Segments After Removing One Letter Medium Pro
- Minimum Removals for a Nearly Increasing Array Medium Pro
- Topological Task Scheduling with Prerequisites Medium Pro
- Interactive Traffic-Signal Controller and UI Medium Pro
- Constant-Time Least Frequently Used Cache Medium Pro
- Versioned Key-Value Map and Core JavaScript Utilities Medium Pro
- Maximum Events Attended Within Date Windows Medium Pro
- Fewest Moves to Reduce a Number to One Medium Pro
- Linked List Deduplication and Longest Contained Substring Easy Pro
- Deduplicate an Unsorted Linked List In Place Medium Pro
- In-Place Run-Length Compression and Integer Reduction Medium Pro
- Starting Indices of Pattern Anagrams Hard Pro
Software Engineering Fundamentals (5)
- In-Place Balanced BST from a Sorted Doubly Linked List Medium Pro
- Tracing Split and Merge Levels in Merge Sort Medium Pro
- Designing a Multi-Tenant Resource Lease Service Medium Pro
- Evaluating DynamoDB vs. RDS MySQL for Enterprise Activity Logs Medium Pro
- Static Code Review of a Python and SQL Backend Hard Pro
System Design (23)
- Architecting a Global Link-Shortening Platform Medium
- Isolated Multi-Tenant Workspace Chat and Channel Platform Medium
- Distributed Cafe Order Management and Kitchen Dispatch System Medium Pro
- Real-Time Ride Dispatch, Driver Offer Coordination, and Surge Pricing Medium Pro
- Cafe Ordering and Barista Queue Platform Medium Pro
- Tenant-Isolated Cross-Region Media Replication Medium Pro
- Idempotent Payment Execution and Ledger Platform Medium Pro
- Hardened Kubernetes Architecture and Canary CI/CD Hard Pro
- Continuous Top-K Frequency Service for Event Streams Medium Pro
- Architectural Deep Dive into Your Current Production System Medium Pro
- Recommendation Serving and Data Platform Hard Pro
- Emergency 911 Call Routing Platform Medium Pro
- Conversational AI Metrics and Analytics Platform Easy Pro
- High-Concurrency Vehicle Rental Booking System Medium Pro
- Third-Party Vendor Integration Platform Medium Pro
- Multi-Channel Enterprise Notification System Medium Pro
- Real-Time Watch Party Engine (LLD) Medium Pro
- Event Space Booking Marketplace (HLD) Medium Pro
- Distributed DAG Workflow Orchestrator on Kubernetes Medium Pro
- Scalable Cafe Order Status Notification Service Medium Pro
- Multi-Tenant Analytics Pipeline for an AI Chat Platform Medium Pro
- Distributed Task Queue and Status Cache Hard Pro
- Kubernetes Cluster Internals and Cloud CI/CD Pipeline Hard Pro
ML System Design (2)
- Personalized Product Recommendation Engine Medium Pro
- Personalized Movie Recommendation Architecture Hard Pro
Machine Learning (2)
- Production ML and LLM Engineering Concepts Medium Pro
- ML Experiment Walkthrough and AI-Agent Design Defense Medium Pro
Behavioral & Leadership (11)
- Hiring Manager Chat: Active Scope, Joining Salesforce, and Practical AI Medium
- Hiring Manager Round: System Architecture, Greenfield Platforms, Load Surges, and Alignment Medium Pro
- Elevating Peers Through Mentorship and Sustainable Code Quality Norms Medium Pro
- Navigating Mid-Flight Course Corrections and Responsible Ownership Transitions Medium Pro
- Defining the Engineering Team Culture and Habits Behind Your Peak Output Medium Pro
- Applying Distributed Systems Experience to a Native Mobile Team Hard Pro
- Career Walk-Through, GCP Team Fit, and Why Salesforce Medium Pro
- Demonstrating Initiative: Unblocking Others and Raising Delivery Scope Medium Pro
- Partnering with a Teammate Through a Knotty Engineering Problem Medium Pro
- Hiring Manager Screen: Initiative, Technical Friction, and Incident Recovery Hard Pro
- High-Impact Production Debugging and Stakeholder Alignment Medium Pro