Problem 1674. How many jokers?
- Given DNA codes of a group of suspects,
- and a code for certain types of jokers,
- Count how many jokers of that type.
- Try general solution
- If test suite is expanded then solutions should still pass.
Solution Stats
Problem Comments
-
1 Comment
Ned Gulley
on 24 Jun 2013
Hi Amitava:
Could you provide an example in your problem statement? Also, as Evan says below, you should have more than one test case or it becomes a trivial matter to hard-code a particular answer.
Solution Comments
Show commentsProblem Recent Solvers273
Suggested Problems
-
Which values occur exactly three times?
5146 Solvers
-
233 Solvers
-
Longest run of consecutive numbers
5853 Solvers
-
510 Solvers
-
Find my daddy long leg (No 's')
2481 Solvers
More from this Author100
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!