Problem Brief
Fantasy Card Duel
INTERNOA
1Example 1
Input
playerDeckA = [5], playerDeckB = [2]
Output
1
Explanation

2Example 2
Input
playerDeckA = [1, 2], playerDeckB = [3, 1]
Output
6
Explanation
Unfortunately, we dont have access to the video explanation they provided..
Constraints
Limits and guarantees your solution can rely on.