Salesforce Interview Questions
Practice 49 real interview questions from Salesforce. Covers Coding & Algorithms, System Design, Software Engineering Fundamentals, Behavioral & Leadership. For roles including Software Engineer, Machine Learning Engineer, Backend Engineer.

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
Design a coffee ordering system
System Design: Coffee Ordering System Design a system for a coffee shop (or chain) that supports ordering drinks. Core use cases - Customer browses me...
Implement a traffic-light UI with JS
Frontend Coding: Traffic Light Build a simple traffic light component using HTML + CSS + JavaScript. Requirements - Render a vertical traffic light wi...
Maximize events attended given date ranges
You are given n events, where each event i can be attended on any single day within an inclusive range \([start_i, end_i]\). You can attend at most on...
Design a TikTok-like short video platform
Design a TikTok-like short-video product. Core user stories 1. Users upload short videos (e.g., 10–60 seconds). 2. Users watch an infinite For You fee...
Solve Two OA Coding Problems
The online assessment included two coding problems: 1. In-place character run compression - You are given an array of characters. - Compress con...
Design a configurable monthly API rate limiter
Design a rate-limiting system for an expensive API. Requirements - Each user (or API key) has a monthly quota (e.g., 10,000 calls/month). - Users can ...
How do you perform a thorough code review?
You are given several Python backend files to review (treat this as an “OA in code-review format”). The code performs database operations such as SQL ...
Solve sliding window, heap, DP, in-place tasks
You are given several LeetCode-style coding tasks. Implement each with the stated time/space goals and handle edge cases. 1) Sliding Window: longest s...
Minimize operations to reduce integer to zero
You are given a non-negative integer n. In one operation: - If n is even, you may replace n with n / 2. - If n is odd, you may replace n with either n...
Flatten nested JSON into a string map
Problem You are given an input JSON object that may contain nested objects and arrays. Your task is to flatten it into a single-level key/value mappin...
Choose DynamoDB vs MySQL for a backend
In a backend system, you must choose a primary database for a core service. Explain when you would choose a key-value/NoSQL store (e.g., DynamoDB-like...
Solve array duplicate flags and binary swaps
Problem 1: Flag duplicates on the left and right You are given an integer array nums of length n. For each index i, determine: 1. Left-duplicate: whet...
Remove duplicates and find constrained longest subsequence
You are given two independent coding tasks. Task 1: Remove duplicates from a linked list Given the head of a singly linked list (not necessarily sorte...
Flatten a nested JSON object
Problem You are given a JSON-like value representing an object that may contain: - Objects / dictionaries (string keys) - Arrays / lists - Primitive v...
Implement common data-structure and JS tasks
You are given several independent coding tasks that appeared across an OA and frontend-focused interviews. Implement each as specified. 1) Time-based ...
Design a pipeline orchestration system on Kubernetes
Design a pipeline/workflow orchestration system (similar to a DAG-based scheduler) that runs workloads on Kubernetes. Functional requirements - Users ...
Implement an LFU cache with O(1) operations
Design and implement an LFU (Least Frequently Used) cache. The cache supports: - get(key): return the value for key if present, else return -1. - put(...
Design an async job system and cache layer
Design two systems. You can assume a large-scale production environment; focus on clear APIs, data models, scaling, reliability, and trade-offs. Part ...
Design an analytics dashboard for an AI chat app
Scenario Design an analytics dashboard for a ChatGPT-like AI chat product. The dashboard is used by Product/Engineering/Support to monitor product hea...
Design an Elevator Control System
Design an object-oriented elevator control system for a building with multiple floors and multiple elevators. The system should support: - Hall reques...