Given a series of cards, return true if it's the famous hand. Note that i pretend that poker cards goes from 1 to 10 so be careful with the test suite to avoid some traps like (nan, 0.05 , 'string', 55...) are invalid cards right ?
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers27
Suggested Problems
-
Find common elements in matrix rows
2713 Solvers
-
How to find the position of an element in a vector without using the find function
2814 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
399 Solvers
-
Solving Quadratic Equations (Version 1)
504 Solvers
-
Matlab Basics II - Create a vector with a repeated entry
252 Solvers
More from this Author12
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
It can't be that famous: I've never heard of it. Are you referring to a "full house"?
http://suntzupoker.com/full-house.aspx
It would also be good for you to define in the problem statement how to interpret the inputs.