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

98 Solutions

58 Solvers

Last Solution submitted on Feb 15, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers58

Suggested Problems

More from this Author46

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!