rummikub icon indicating copy to clipboard operation
rummikub copied to clipboard

a specific case

Open no-on3 opened this issue 3 years ago • 2 comments

Hello, I worked on this algo recently, my solution was initially based on your solution, with a bit of recursivity
I added it because some cases are not handled correctly for example :

[3, "A"], [4, "A"], [5, "A"], [6, "A"], [7, "A"], [6, "B"], [6, "C"]

will return [6, "B"], [6, "C"] as rest while it should be[7, "A"]only

this is my solution, what do you think? https://github.com/no-on3/RummiKubPython/blob/main/script.py

no-on3 avatar May 28 '21 13:05 no-on3