Problem · Simulation
Fantasy Card Duel
Examples
01 · Example 1
playerDeckA = [5] playerDeckB = [2] return = 1

02 · Example 2
playerDeckA = [1, 2] playerDeckB = [3, 1] return = 6
Unfortunately, we dont have access to the video explanation they provided..
Constraints
More ZipRecruiter problems
public int fantasyCard(int[] playerDeckA, int[] playerDeckB) {
// write your code here
}
playerDeckA[5]
playerDeckB[2]
expected1
sign in to submit