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.
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.)
Matrix indexing with two vectors of indices
492 Solvers
712 Solvers
Return the first and last characters of a character array
3691 Solvers
401 Solvers
Relative ratio of "1" in binary number
414 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!