Poker Hand Evaluation

This is a very interesting problem that I worked on, more challenging than I thought.

The naive solution is extremely slow and error prone.

I implemented my version which uses some bitmasks, however it is still not as efficient. Use for example Cactus Kev’s Poker Hand Evaluator.