Problem 1512. Clock Solitaire
Solution Stats
Problem Comments
-
1 Comment
Richard Zapor
on 14 May 2017
Please add a test case that kills my invalid leading solution.
I misinterpreted the wiki page for sequencing which I thought was random choice to produce a 1 in 13 probability.
Solution Comments
-
1 Comment
yurenchu
on 2 Jun 2017
Weird that this works. (The fourth line is incorrect, by mistake; I had forgotten to change it after I discovered that the top card of each pile is the left-most of each group of four, not the right-most. Yet it works.)
Problem Recent Solvers36
Suggested Problems
-
Reverse the Words (not letters) of a String
408 Solvers
-
Poker Series 11: selectBestHand
35 Solvers
-
Return a list sorted by number of consecutive occurrences
323 Solvers
-
272 Solvers
-
160 Solvers
More from this Author11
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!