New
The Learning module is now live
See what's new
×
Question Bank
Learning
NEW
Pricing
Blog
Forum
HOT
JobRadar
Description
Solution
Discussion
Submissions
Ask AI
Question Bank
Stripe
Coding Question
AI Insights
Quick Summary
Simulate daily server load scoring by evaluating incoming requests against predefined resource rules.
Apply three independent stress calculations involving payload multiplication, sticky session overhead, and hourly traffic bursts.
Aggregate results per server and return scores in a sorted order by server identifier.
What This Tests
Hash map state tracking for grouped event aggregation
Incremental computation and cumulative sum management
Conditional branching based on temporal and categorical thresholds
Batch data processing and deterministic simulation
Common Patterns
Hashing
Sorting
Collapse
Hint 1
Hint 2
What Interviewers May Ask Next
Accepted
2.3k
/5.7k
Acceptance Rate
40.4%
Ask AI Assistant
Ask AI Assistant
Ask me anything about this coding question!
Qwen
Qwen3.7-Flash
0/2000
Auto
Debug
Run
Submit
Test Cases
Input
requestsList =
rulesList =
serversList =
Output
Expected