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

61 Solutions

39 Solvers

Last Solution submitted on Jan 23, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...