Available question text
Given n servers and timestamped request logs, for each query time return how many servers received no requests in the inclusive interval [query - x, query]. With logs and queries up to 1e5, this is typically solved efficiently by sorting logs and queries and using a sliding-window/two-pointer frequency count to maintain which servers are active in each window.
Related questions
Continue with questions that share topics or the same question type.
- Count Operations to Obtain Zero
Coding
- Count Pairs of Connectable Servers in a Weighted Tree Network
Coding · Array · Depth-First Search · Tree
- Count Servers that Communicate
Coding
- 1. Count number of islands in matrix (Leetcode challenge)
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2747. Count Zero Request Servers
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source