From: Zed Lopez Date: 2005-11-21T12:20:16+09:00 Subject: Re: [QUIZ SOLUTION] Euchre Hands (#55) On 11/20/05, Dominik Bathon wrote: > It doesn't really "solve" the problem, instead it cheats ;-) , but on the > other side it is short and should be correct if the order hash is correct. A couple of my early attempts depended on the idea that the trump suit absolutely determined the ranking of the cards, independent of knowing anything else. It doesn't work, though. On this input: Hearts Qd 9h 9d Qc Qh That code produces: Hearts Qh 9h Qd 9d Qc (diamonds next to hearts) when it should be: Hearts Qh 9h Qc Qd 9d (clubs between hearts and diamonds.) Ordering the hand can't come without considering what suits are present.