Fantasy Card Duel
Problem Overview
- Determine the outcome of a fantasy card duel by applying specified game rules to a sequence of plays.
- Inputs include players’ decks, card attributes, and turn order; output is the winner, tie, or final state/score.
- Domain: turn-based digital collectible card game mechanics.
- This coding interview problem is a common interview question assessing understanding of rule-driven evaluation.
- No specific company mentioned.
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Input Variables
Execution Result:
