Card Hand Comparator
Rippling interview questions · Medium · Coding round · 6 tests
Implement the core evaluator for a simplified two-player card game sometimes described publicly as Camel Cards.
Interface
evaluateCamelCards(
hand1: string | Array<string | number>,
hand2: string | Array<string | number>,
): 'HAND_1' | 'HAND_2' | 'TIE'
Game rules
Run your code with Ctrl+Enter to see results.