Salesforce logoSalesforce
Coding·30 minMembers

Maximum Requests in a Time Window (OA)

Members only

Second problem on the same recent Salesforce OA (HackerRank, 2 problems / 60 min). Given a list of integer timestamps and a window size W, find the maximum number of timestamps that fit inside any con...

SWE
array
sliding-window
two-pointer
sorting
easy
Frequency
Single report
Last asked
2026-03-19
Stage
oa

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...