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
-
Number of 1s in the Binary Representation of a Number
457 Solvers
-
556 Solvers
-
Back to basics 6 - Column Vector
1078 Solvers
-
Check that number is whole number
4608 Solvers
-
Flip the vector from right to left
9607 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!