Company: Ibm_23sep
Difficulty: medium
Total Transmitted Logs Problem Description You are given a logging system with a circular buffer that can hold up to `n` logs. Each log has a unique timestamp `logTimestamp[i]` (in milliseconds) and a tag `logTag[i]`. When a new log arrives, the system: Transmits all logs sharing the same tag as the new log, but only if they fall within a specific time window (`transmissionWindow`). If the buffer is full, it removes the oldest log to make space for the new one. Implement a function that finds the total number of logs transmitted throughout the process as logs arrive, considering the circular buffer's capacity and the time window for transmission. The function `getTotalTransmittedLogs` takes the following parameters: `int logTimestamp[]`: the recording times of logs in milliseconds `string logTag[]`: the tags of logs `int bufferCapacity`: the capacity of the circular buffer `int transmissionWindow`: the time range (in milliseconds) within which logs sharing the same tag as the arriving