Problem 43562. Mastermind
Solution Stats
Problem Comments
-
1 Comment
Are Mjaavatten
on 17 Aug 2021
If the hidden code is [2 4 4 2] and the attempt is [1 2 3 5], then the test gives rightNumRightPlace = 0, rightNumWrongPlace = 2. I my head, rightNumWrongPlace should be 1. Have I misunderstood? .
Problem Recent Solvers11
Suggested Problems
-
Return a list sorted by number of occurrences
1891 Solvers
-
1050 Solvers
-
It dseon't mettar waht oedrr the lrettes in a wrod are.
1034 Solvers
-
265 Solvers
-
Put two time series onto the same time basis
234 Solvers
More from this Author25
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!