Algorithm · Applied Intuition · Medium
Problem Design a processor for a collection of time-series sensor readings. Each entry is composed of three fields: timestamp — integer time at which the reading was recorded sensor_id — string label identifying a specific sensor value — the floating-point measurement taken Once all readings have been loaded, the program must handle a series of queries about the data. Input Format The very first line supplies two integers, n and q: n — total number of sensor readings q —…
Checking your access…