Implement a rate limiter that allows a maximum of n requests in a time window of t seconds. Use a sliding window approach to track requests. The limiter should return True if a request is allowed and False if it exceeds the limit.
Example 1:
Input: requests = [1, 2, 3, 4, 5], n = 3, t = 5
Output: [True, True, True, False, False]
Explanation: The first three requests are within the limit, but the fourth and fifth exceed the maximum of 3 requests in 5 seconds.
Example 2:
Input: requests = [1, 2, 3, 6, 7], n = 2, t = 3
Output: [True, True, False, True, True]
Explanation: The first two requests are allowed, the third exceeds the limit, while the fourth and fifth are allowed since they are outside the time window of the first two requests.
1 <= requests.length <= 10^51 <= n <= 1001 <= t <= 1000.