Problem 44441. Jack's hand in "Titanic" ♤
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
David Verrelli
on 13 Dec 2017
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.
Solution Comments
Show commentsProblem Recent Solvers26
Suggested Problems
-
17101 Solvers
-
Back to basics 8 - Matrix Diagonals
924 Solvers
-
Back to basics 12 - Input Arguments
596 Solvers
-
Compute a dot product of two vectors x and y
988 Solvers
-
Magic is simple (for beginners)
9187 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!