Design and implement an in-memory key-value store class supporting put(key, value) and get(key) operations. Additionally, implement methods to track and return the average number of put and get calls per second (QPS) over a rolling time window (commonly the past 5 minutes / 300 seconds). The system should use real…