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
Solution Comments
Show comments
Loading...
Problem Recent Solvers34
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!
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!