Software Engineer • Senior-Level
Software Engineer • Senior-Level
High QualityPrep Other Coding Questions Asked by Salesforce
Continue with targeted prep from Salesforce's coding question bank.
Interview Summary
The Salesforce SMTS online assessment contained two algorithmic coding questions. The first combined string modification with greedy segmentation, while the second asked for the minimum number of operations needed to reduce a large integer to zero using additions or subtractions of powers of two.
Interview Details
Question 1 — Minimum Segments After Deleting One Character
You are given a lowercase string s. You must perform the following operation exactly once: Choose one lowercase English character and delete every occurrence of that character from the entire string. After the deletion, split the remaining string into the minimum possible number of non-empty, non-overlapping substrings such that every substring contains **no repeated
Unlock Full Details
Create a free account to unlock this interview experience report.