Problem 61029. The Case of the Missing Prototype – Identify the Thief by Comparing Suspects’ Evidence and Alibi Scores
After gathering fingerprints, alibis, sensor data, and digital clues, it’s time to pinpoint the thief.
You have a struct array suspects with fields:
- .name — the suspect’s name
- .alibiScore — higher means stronger alibi
- .evidenceScore — higher means stronger evidence against them
Determine the suspect with the highest difference (evidenceScore - alibiScore).
Return their name — this is your confirmed culprit.
Detective Alex Verma finally solves the case and recovers the stolen prototype!
Solution Stats
Problem Comments
-
1 Comment
Christian Schröder
on 20 Oct 2025 at 20:39
This was a very neat series of problems. Thanks, Ritik! They were easy, but I really enjoyed the story, and I'm glad that the stolen prototype was finally recovered now!
Solution Comments
Show commentsProblem Recent Solvers6
Suggested Problems
More from this Author22
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!