Salesforce | SMTS | OA
- Result
- Ongoing
- Experience
- 6.5 years
- Posted
- 5 Nov 2025
Summary
I recently completed the Online Assessment for a Staff Member of Technical Staff (SMTS) Backend role at Salesforce, which involved two coding questions on Hackerrank.
How it went
I recently applied for a Staff Member of Technical Staff (SMTS) Backend role at Salesforce through their careers portal. After applying, I was invited to complete an Online Assessment on Hackerrank. The assessment consisted of two coding questions, and I had 75 minutes to complete them.
Questions asked (2)
- 01
Minimum Operations to Reduce to 0
Data Structures & Algorithms
Given a positive integer n, find the minimum number of operations required to convert n to 0. In each operation, you can choose any integer i (where i ≥ 0) and either add or subtract 2^i from n. The answer should return the minimum number of operations required to reduce n to 0.
- 02
Maximum Requests in Window
Data Structures & Algorithms
Given an integer array timestamp and an integer windowSize, find the maximum number of requests that occur within any continuous time window of a specified range. The function should return an integer denoting the maximum requests observed in any window of windowSize minutes.