LeetCode: 948-Bag of Tokens 解題紀錄
Last Updated on 2022-09-12 by Clay
題目
You have an initial power of power
, an initial score of 0
, and a bag of tokens
where tokens[i]
is the value of the ith
token (0-indexed).
Last Updated on 2022-09-12 by Clay
You have an initial power of power
, an initial score of 0
, and a bag of tokens
where tokens[i]
is the value of the ith
token (0-indexed).