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

80.0% Correct | 20.0% Incorrect
Last Solution submitted on Oct 24, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers7

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!