🛠️ Approach:
1️⃣ Use a deque to store recent timestamps.
2️⃣ Add each request to the deque.
3️⃣ Remove timestamps older than t-3000 from the front.
4️⃣ Return the size of the deque, which gives the count of valid requests.
#LeetCode