Search
⌘K
Get Premium
Leetcode 2660. Determine the Winner of a Bowling Game
Given two arrays of pins per turn, compute each player's score by summing turns where a turn's pins are doubled if either of the previous two turns was a strike (10), then compare the totals and return 1, 2, or 0 for player1 win, player2 win, or tie.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.