Problem 61026. The Case of the Missing Prototype – Detect Tampered Sensor Readings from the Stolen Device’s Data Logs

You’ve recovered partial sensor data from the stolen prototype.Each reading is stored in a numeric vector data, but something seems off — certain values are negative, indicating possible tampering.
Your task as Detective Alex Verma is to identify all readings that were tampered with.
Return a row vector containing the indices of all negative values in data.
If no tampering is found, return an empty vector.
Every negative entry is another clue toward catching the thief!

Solution Stats

88.89% Correct | 11.11% Incorrect
Last Solution submitted on Oct 23, 2025

Solution Comments

Show comments