Problem 61020. The Case of the Missing Prototype - Count the Fingerprints Found at the Lab Door to Begin Your Investigation
You arrive at the Innovation Lab where the secret prototype was stolen. The door has been dusted for fingerprints, and a technician provides you with a binary vector prints.
Here, 1 represents a fingerprint found and 0 means a clean spot.
Your first task as Detective Alex Verma is to count the total number of fingerprints discovered at the scene. Every fingerprint brings you one step closer to the truth.
Return a single number — the count of 1s in prints.
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers7
Suggested Problems
More from this Author20
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!