I stored the last at most two turns per number, so `Table[int, seq[int]]`. If 
number 37 appeared in the past two times, and the new spoken 37 comes out 
several turns later, you need to subtract those last two in the table. ([My 
solution](https://gist.github.com/fxn/be211ef18b9cfd0c05c143e1215e0321).)

How did you manage to solve it with `Table[int, int]`?

Reply via email to