Rock-Paper-Scissors Lineup
Asked at SoFi · Coding Questions · Difficulty: Medium · Last asked Jan 14, 2026
Array game prompt: process players' rock-paper-scissors hands from the front of the line and compute how many changes are needed for your hand to beat the current and remaining winners.
Loading the problem…